Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Jun 6, 2024
1 parent e19aadd commit 8504c8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/setupTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ let testCounter = 0;

// @ts-ignore
global.test = (name, fn, options) => {
const fnToUse = shouldSkip(testCounter) ? originalTest : originalTest;
const fnToUse = shouldSkip(testCounter)
? originalTest.skip
: originalTest.skip;
testCounter++;
return fnToUse(name, fn, options);
};

0 comments on commit 8504c8f

Please sign in to comment.