Skip to content

Commit 0663f84

Browse files
test: use common.mustCall() for skip empty string test
1 parent c08538a commit 0663f84

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
'use strict';
2-
require('../common');
32

3+
const common = require('../common');
44
const { test } = require('node:test');
5-
const assert = require('assert');
65

7-
let ran = false;
8-
9-
test('skip option empty string should not skip', { skip: '' }, () => {
10-
ran = true;
11-
});
12-
13-
process.on('exit', () => {
14-
assert.ok(ran);
15-
});
6+
test('skip option empty string should not skip', { skip: '' }, common.mustCall());

0 commit comments

Comments
 (0)