-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a74695e
commit 20398ef
Showing
5 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import CountItems from "./functions/countItems"; | ||
import CreateItem from "./functions/createItem"; | ||
import DeleteItem from "./functions/deleteItem"; | ||
import DeleteItems from "./functions/deleteItems"; | ||
import GetItem from "./functions/getItem"; | ||
import GetItems from "./functions/getItems"; | ||
import ReplaceItem from "./functions/replaceItem"; | ||
import UpdateItem from "./functions/updateItem"; | ||
import CountItems from "./functions/CountItems"; | ||
import CreateItem from "./functions/CreateItem"; | ||
import DeleteItem from "./functions/DeleteItem"; | ||
import DeleteItems from "./functions/DeleteItems"; | ||
import GetItem from "./functions/GetItem"; | ||
import GetItems from "./functions/GetItems"; | ||
import ReplaceItem from "./functions/ReplaceItem"; | ||
import UpdateItem from "./functions/UpdateItem"; | ||
import Item from "./interfaces/Item"; | ||
export default interface Facade<I extends Item> { | ||
readonly countItems: CountItems<I>; | ||
readonly createItem: CreateItem<I>; | ||
readonly getItem: GetItem<I>; | ||
readonly getItems: GetItems<I>; | ||
readonly deleteItem: DeleteItem<I>; | ||
readonly deleteItems: DeleteItems<I>; | ||
readonly updateItem: UpdateItem<I>; | ||
readonly replaceItem: ReplaceItem<I>; | ||
readonly countItems: CountItems<I>; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import Options from "../../interfaces/Options"; | ||
import { TestItem } from "../utils/testItem"; | ||
// import runFilterTests from "./subtests/runFilterTests"; | ||
import runFilterTests from "./subtests/runFilterTests"; | ||
import runPaginationTests from "./subtests/runPaginationTests"; | ||
// import runSortTests from "./subtests/runSortTests"; | ||
import runSortTests from "./subtests/runSortTests"; | ||
|
||
export default (options: Options<TestItem>) => { | ||
describe("getItems", () => { | ||
// runFilterTests(options); | ||
runFilterTests(options); | ||
runPaginationTests(options); | ||
// runSortTests(options); | ||
runSortTests(options); | ||
}); | ||
}; |