diff --git a/package.json b/package.json index 3d3432f..92d3dd0 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "clean": "rm -rf node_modules/ dist/", "build": "tsc", "start": "node ./dist/vylbot", - "test": "jest .", + "test": "jest . --passWithNoTests", "db:up": "typeorm migration:run -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", diff --git a/tests/buttonEvents/moons/list.test.ts b/tests/buttonEvents/moons/list.test.ts deleted file mode 100644 index 57cbb6d..0000000 --- a/tests/buttonEvents/moons/list.test.ts +++ /dev/null @@ -1,35 +0,0 @@ -describe("GIVEN valid input", () => { - test.todo("EXPECT interaction.update to be called"); - - test.todo("EXPECT embed to contain correct information"); - - test.todo("EXPECT component row to contain correct information"); - - describe("GIVEN is first page", () => { - test.todo("EXPECT Previous button to be disabled"); - }); - - describe("GIVEN is last page", () => { - test.todo("EXPECT Next button to be disabled"); - }); -}); - -describe("GIVEN interaction.guild is undefined", () => { - test.todo("EXPECT nothing to happen"); -}); - -describe("GIVEN userId is not supplied", () => { - test.todo("EXPECT nothing to happen"); -}); - -describe("GIVEN page is not supplied", () => { - test.todo("EXPECT nothing to happen"); -}); - -describe("GIVEN moon object is undefined", () => { - test.todo("EXPECT error replied"); -}); - -describe("GIVEN the user has 0 moons", () => { - test.todo("EXPECT error replied"); -}); diff --git a/tests/commands/304276391837302787/moons.test.ts b/tests/commands/304276391837302787/moons.test.ts deleted file mode 100644 index 33d0978..0000000 --- a/tests/commands/304276391837302787/moons.test.ts +++ /dev/null @@ -1,17 +0,0 @@ -describe("constructor", () => { - test.todo("EXPECT CommandBuilder to be valid"); -}); - -describe("execute", () => { - describe("GIVEN subcommand is list", () => { - test.todo("EXPECT ListMoons executed"); - }); - - describe("GIVEN subcommand is add", () => { - test.todo("EXPECT AddMoon executed"); - }); - - describe("GIVEN interaction.isChatInputCommand is false", () => { - test.todo("EXPECT nothing to happen"); - }); -}); diff --git a/tests/commands/304276391837302787/moons/add.test.ts b/tests/commands/304276391837302787/moons/add.test.ts deleted file mode 100644 index 5491fcb..0000000 --- a/tests/commands/304276391837302787/moons/add.test.ts +++ /dev/null @@ -1,17 +0,0 @@ -describe("GIVEN valid input", () => { - test.todo("EXPECT interaction replied"); - - test.todo("EXPECT embed details are correct"); -}); - -describe("GIVEN description is undefined", () => { - test.todo("EXPECT error replied"); - - test.todo("EXPECT function returned"); -}); - -describe("GIVEN description is more than 255 characters long", () => { - test.todo("EXPECT error replied"); - - test.todo("EXPECT function returned"); -}); diff --git a/tests/commands/304276391837302787/moons/list.test.ts b/tests/commands/304276391837302787/moons/list.test.ts deleted file mode 100644 index 9137203..0000000 --- a/tests/commands/304276391837302787/moons/list.test.ts +++ /dev/null @@ -1,39 +0,0 @@ -describe("GIVEN valid input", () => { - test.todo("EXPECT interaction replied"); - - test.todo("EXPECT embed information to be correct"); - - test.todo("EXPECT component information to be correct"); - - describe("GIVEN it is the first page", () => { - test.todo("EXPECT Previous button to be disabled"); - }); - - describe("GIVEN it is the last page", () => { - test.todo("EXPECT Next button to be disabled"); - }); -}); - -describe("GIVEN interaction.guild is undefined", () => { - test.todo("EXPECT nothing to happen"); -}); - -describe("GIVEN userId is not supplied", () => { - test.todo("EXPECT nothing to happen"); -}); - -describe("GIVEN page is not supplied", () => { - test.todo("EXPECT nothing to happen"); -}); - -describe("GIVEN moons object is undefined", () => { - test.todo("EXPECT error replied"); - - test.todo("EXPECT function returned"); -}); - -describe("GIVEN moons for user is 0", () => { - test.todo("EXPECT error replied"); - - test.todo("EXPECT function returned"); -}); diff --git a/tests/database/entities/304276391837302787/Moon.test.ts b/tests/database/entities/304276391837302787/Moon.test.ts deleted file mode 100644 index 10c883d..0000000 --- a/tests/database/entities/304276391837302787/Moon.test.ts +++ /dev/null @@ -1,21 +0,0 @@ -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"); -});