diff options
Diffstat (limited to 'test/parallel/test-global-console-exists.js')
-rw-r--r-- | test/parallel/test-global-console-exists.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-global-console-exists.js b/test/parallel/test-global-console-exists.js index d4a7c21222..5d2814663b 100644 --- a/test/parallel/test-global-console-exists.js +++ b/test/parallel/test-global-console-exists.js @@ -35,8 +35,8 @@ const old_default = EventEmitter.defaultMaxListeners; EventEmitter.defaultMaxListeners = 1; const e = new EventEmitter(); -e.on('hello', () => {}); -e.on('hello', () => {}); +e.on('hello', common.noop); +e.on('hello', common.noop); // TODO: Figure out how to validate console. Currently, // there is no obvious way of validating that console |