Refactor query interface imports

This commit is contained in:
Tee
2021-02-25 22:08:38 -05:00
parent 657605eaa0
commit 363bcfd321
3 changed files with 10 additions and 10 deletions

View File

@ -1,11 +1,11 @@
import * as chai from 'chai';
import { Client } from '../src/client';
import { IQuery } from '../src/interfaces/query';
import { Query } from '../src/interfaces/query';
const expect = chai.expect;
describe('Client', () => {
it('should get a single using the cards resource and query params' , () => {
const params: IQuery[] = [{
const params: Query[] = [{
name: 'id',
value: 'xy7-54'
}];
@ -26,7 +26,7 @@ describe('Client', () => {
});
it('should get sets using the sets resource and query params', () => {
const params: IQuery[] = [{
const params: Query[] = [{
name: 'name',
value: 'Base'
}];
@ -39,7 +39,7 @@ describe('Client', () => {
});
it('should get a single set using the sets resource and query params', () => {
const params: IQuery[] = [{
const params: Query[] = [{
name: 'id',
value: 'base1'
}];