vylbot-app/tests/contracts/BaseEntity.test.ts

29 lines
783 B
TypeScript
Raw Normal View History

2024-02-03 19:29:28 +00:00
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");
});