Skip to content

Commit 20398ef

Browse files
committed
fix: updated tests
1 parent a74695e commit 20398ef

File tree

5 files changed

+19
-18
lines changed

5 files changed

+19
-18
lines changed

dist/facade.d.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
import CountItems from "./functions/countItems";
2-
import CreateItem from "./functions/createItem";
3-
import DeleteItem from "./functions/deleteItem";
4-
import DeleteItems from "./functions/deleteItems";
5-
import GetItem from "./functions/getItem";
6-
import GetItems from "./functions/getItems";
7-
import ReplaceItem from "./functions/replaceItem";
8-
import UpdateItem from "./functions/updateItem";
1+
import CountItems from "./functions/CountItems";
2+
import CreateItem from "./functions/CreateItem";
3+
import DeleteItem from "./functions/DeleteItem";
4+
import DeleteItems from "./functions/DeleteItems";
5+
import GetItem from "./functions/GetItem";
6+
import GetItems from "./functions/GetItems";
7+
import ReplaceItem from "./functions/ReplaceItem";
8+
import UpdateItem from "./functions/UpdateItem";
99
import Item from "./interfaces/Item";
1010
export default interface Facade<I extends Item> {
11+
readonly countItems: CountItems<I>;
1112
readonly createItem: CreateItem<I>;
1213
readonly getItem: GetItem<I>;
1314
readonly getItems: GetItems<I>;
1415
readonly deleteItem: DeleteItem<I>;
1516
readonly deleteItems: DeleteItems<I>;
1617
readonly updateItem: UpdateItem<I>;
1718
readonly replaceItem: ReplaceItem<I>;
18-
readonly countItems: CountItems<I>;
1919
}

dist/functions/getItems/test.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/functions/getItems/test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/interfaces/filter.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export interface ComparisonFilter<Value> {
88
readonly $lte?: Value;
99
readonly $ne?: Value;
1010
readonly $nin?: Value[];
11+
readonly $not?: ComparisonFilter<Value>;
1112
readonly $search?: Value;
1213
}
1314
export declare type ItemFilter<I extends Item> = {

src/functions/GetItems/test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import Options from "../../interfaces/Options";
22
import { TestItem } from "../utils/testItem";
3-
// import runFilterTests from "./subtests/runFilterTests";
3+
import runFilterTests from "./subtests/runFilterTests";
44
import runPaginationTests from "./subtests/runPaginationTests";
5-
// import runSortTests from "./subtests/runSortTests";
5+
import runSortTests from "./subtests/runSortTests";
66

77
export default (options: Options<TestItem>) => {
88
describe("getItems", () => {
9-
// runFilterTests(options);
9+
runFilterTests(options);
1010
runPaginationTests(options);
11-
// runSortTests(options);
11+
runSortTests(options);
1212
});
1313
};

0 commit comments

Comments
 (0)