We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1da674e commit 110a3b2Copy full SHA for 110a3b2
test/parallel/test-fs-makeStatsCallback.js
@@ -16,7 +16,7 @@ function testMakeStatsCallback(cb) {
16
common.expectWarning('DeprecationWarning', warn);
17
18
// Verify the case where a callback function is provided
19
-assert.doesNotThrow(testMakeStatsCallback(common.noop));
+assert.doesNotThrow(testMakeStatsCallback(common.mustCall()));
20
21
// Passing undefined/nothing calls rethrow() internally, which emits a warning
22
assert.doesNotThrow(testMakeStatsCallback());
0 commit comments