Skip to content

Commit cecdb57

Browse files
fix: must not call
1 parent f647338 commit cecdb57

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
const assert = require('assert');
2+
const common = require('../../../common');
3+
24
const test = require('node:test');
35

46
test('keep error', (t) => {
57
assert.strictEqual(0, 1);
68
});
79

8-
test('dont show', t => {
10+
test('dont show', common.mustNotCall( t => {
911
assert.strictEqual(0, 2);
10-
})
12+
}));

0 commit comments

Comments
 (0)