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 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.