Plan tests
This commit is contained in:
parent
a7b3079fcd
commit
321486a90b
2 changed files with 22 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
"clean": "rm -rf node_modules/ dist/",
|
"clean": "rm -rf node_modules/ dist/",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"start": "node ./dist/vylbot",
|
"start": "node ./dist/vylbot",
|
||||||
"test": "jest . --passWithNoTests",
|
"test": "jest .",
|
||||||
"db:up": "typeorm migration:run -d dist/database/dataSources/appDataSource.js",
|
"db:up": "typeorm migration:run -d dist/database/dataSources/appDataSource.js",
|
||||||
"db:down": "typeorm migration:revert -d dist/database/dataSources/appDataSource.js",
|
"db:down": "typeorm migration:revert -d dist/database/dataSources/appDataSource.js",
|
||||||
"db:create": "typeorm migration:create ./src/database/migrations",
|
"db:create": "typeorm migration:create ./src/database/migrations",
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
describe("constructor", () => {
|
||||||
|
describe("GIVEN entity created", () => {
|
||||||
|
test.todo("EXPECT MoonNumber to be set");
|
||||||
|
|
||||||
|
test.todo("EXPECT Description to be set");
|
||||||
|
|
||||||
|
test.todo("EXPECT UserId to be set");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("FetchMoonsByUserId", () => {
|
||||||
|
test.todo("EXPECT list of moons to be returned");
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("FetchPaginatedMoonsByUserId", () => {
|
||||||
|
test.todo("EXPECT list of moons to be returned with page list");
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("FetchMoonCountByUserId", () => {
|
||||||
|
test.todo("EXPECT count to be returned");
|
||||||
|
});
|
Loading…
Reference in a new issue