Skip to content

Commit ae97d40

Browse files
committed
fixup: jest compat
1 parent 19bfefd commit ae97d40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/_jest-vitest-alias.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export {
1313

1414
// Add support for describe.skipIf, test.skipIf, and test.runIf
1515
describe.skipIf = (condition) => (condition ? describe.skip : describe)
16+
describe.runIf = (condition) => (condition ? describe : describe.skip)
1617
test.skipIf = (condition) => (condition ? test.skip : test)
1718
test.runIf = (condition) => (condition ? test : test.skip)
1819

0 commit comments

Comments
 (0)