-
Notifications
You must be signed in to change notification settings - Fork 30.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
122298b
commit a8ce60d
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Flags: --test-skip-pattern=disabled --test-skip-pattern=/no/i | ||
'use strict'; | ||
const common = require('../../../common'); | ||
const { | ||
describe, | ||
it, | ||
test, | ||
} = require('node:test'); | ||
|
||
test('top level test disabled', common.mustNotCall()); | ||
test('top level skipped test disabled', { skip: true }, common.mustNotCall()); | ||
test('top level skipped test enabled', { skip: true }, common.mustNotCall()); | ||
it('top level it enabled', common.mustCall()); | ||
it('top level it disabled', common.mustNotCall()); | ||
it.skip('top level skipped it disabled', common.mustNotCall()); | ||
it.skip('top level skipped it enabled', common.mustNotCall()); | ||
describe('top level describe never disabled', common.mustCall()); | ||
describe.skip('top level skipped describe disabled', common.mustNotCall()); | ||
describe.skip('top level skipped describe enabled', common.mustNotCall()); | ||
test('this will NOt call', common.mustNotCall()); |