diff --git a/test/parallel/test-next-tick-errors.js b/test/parallel/test-next-tick-errors.js
index 989d02b4d9f3e4..acb7c497278429 100644
--- a/test/parallel/test-next-tick-errors.js
+++ b/test/parallel/test-next-tick-errors.js
@@ -20,7 +20,7 @@
 // USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 'use strict';
-require('../common');
+const common = require('../common');
 const assert = require('assert');
 
 const order = [];
@@ -42,11 +42,15 @@ process.nextTick(function() {
 });
 
 function testNextTickWith(val) {
-  assert.throws(
+  common.expectsError(
     function() {
       process.nextTick(val);
     },
-    TypeError
+    {
+      code: 'ERR_INVALID_CALLBACK',
+      name: 'TypeError [ERR_INVALID_CALLBACK]',
+      type: TypeError
+    }
   );
 }