Fix unit tests

This commit is contained in:
Kalle (Sendou) 2022-01-01 13:24:09 +02:00
parent 1ea6587e82
commit 5de4a97ed6
3 changed files with 3 additions and 3 deletions

View File

@ -105,7 +105,7 @@ TournamentRoundsForDB("Generates rounds correctly", () => {
assert.equal(uniqueParticipants.size, TEAM_COUNT + 1); // + BYE
});
TournamentRoundsForDB.only("Advances bye to right spot", () => {
TournamentRoundsForDB("Advances bye to right spot", () => {
const TEAM_COUNT = 7;
const bracketForDb = tournamentRoundsForDB({
mapList,

View File

@ -4,7 +4,7 @@ describe("Before tournament starts", () => {
cy.logIn("sendou");
});
it.only("Can edit team details, add/remove players and check-in", () => {
it("Can edit team details, add/remove players and check-in", () => {
cy.visit("/to/sendou/in-the-zone-x/manage-roster", {
onBeforeLoad(win: Window): void {
cy.spy(win.navigator.clipboard, "writeText").as("copy");

View File

@ -20,7 +20,7 @@
"typecheck": "tsc --noEmit",
"cy:open": "npx cypress open",
"cy:run": "npx cypress run",
"test:unit": "tsm node_modules/uvu/bin.js -i cypress"
"test:unit": "uvu -r tsm -r tsconfig-paths/register -i cypress"
},
"dependencies": {
"@dnd-kit/core": "^4.0.3",