mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
Fix unit tests
This commit is contained in:
parent
1ea6587e82
commit
5de4a97ed6
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user