Add ability to add a moon to your count #477

Merged
Vylpes merged 7 commits from feature/196-add-moons into develop 2024-09-21 16:12:19 +01:00
2 changed files with 22 additions and 1 deletions
Showing only changes of commit 321486a90b - Show all commits

View file

@ -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",

View file

@ -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");
});