Skip to content

Commit 284dad7

Browse files
fossamagnaMylesBorins
authored andcommitted
test: use Number.isNaN()
PR-URL: #17319 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 94abefb commit 284dad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/parallel/test-process-emit.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ process.emit('normal', 'normalData');
1919
process.emit(sym,'symbolData');
2020
process.emit('SIGPIPE','signalData');
2121

22-
assert.strictEqual(isNaN(process._eventsCount),false);
22+
assert.strictEqual(Number.isNaN(process._eventsCount),false);

0 commit comments

Comments
(0)