This commit is contained in:
parent
ea6bac2af1
commit
69ef94dbb5
84 changed files with 993 additions and 7394 deletions
29
tests/contracts/BaseEntity.test.ts
Normal file
29
tests/contracts/BaseEntity.test.ts
Normal file
|
@ -0,0 +1,29 @@
|
|||
describe('constructor', () => {
|
||||
test.todo("EXPECT properties to be set");
|
||||
});
|
||||
|
||||
describe("Save", () => {
|
||||
test.todo("EXPECT entity to be saved");
|
||||
});
|
||||
|
||||
describe("Remove", () => {
|
||||
test.todo("EXPECT entity to be removed");
|
||||
});
|
||||
|
||||
describe("FetchAll", () => {
|
||||
test.todo("EXPECT all entities to be returned");
|
||||
|
||||
test.todo("GIVEN relations parameter is not supplied, EXPECT relations to be defaulted");
|
||||
});
|
||||
|
||||
describe("FetchOneById", () => {
|
||||
test.todo("EXPECT one entity to be returned");
|
||||
|
||||
test.todo("GIVEN relations parameter is not supplied, EXPECT relations to be defaulted");
|
||||
});
|
||||
|
||||
describe("Any", () => {
|
||||
test.todo("GIVEN at least 1 entity is found, EXPECT true to be returned");
|
||||
|
||||
test.todo("GIVEN no entities are found, EXPECT false to be returned");
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue