Skip to content

Commit

Permalink
test: use Number.isNaN()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
fossamagna authored and MylesBorins committed Dec 12, 2017
1 parent 94abefb commit 284dad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-process-emit.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ process.emit('normal', 'normalData');
process.emit(sym, 'symbolData');
process.emit('SIGPIPE', 'signalData');

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

0 comments on commit 284dad7

Please sign in to comment.