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 <vsemozhetbyt@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
fossamagna authored and gibfahn committed Dec 19, 2017
1 parent bdbcdeb commit 8098a6e
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 8098a6e

Please sign in to comment.