Permalink
Browse files

test: use Number.isNaN()

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 Nov 26, 2017
1 parent bdbcdeb commit 8098a6ed0ea1ffe6c0068e94055dc49cf55c3500
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-process-emit.js
@@ -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.