diff --git a/scripts/babel-register.js b/scripts/babel-register.js
index <HASH>..<HASH> 100644
--- a/scripts/babel-register.js
+++ b/scripts/babel-register.js
@@ -1,9 +1,11 @@
 require("babel-register")({
     babelrc: false,
-    extensions: [".mjs"],
-    ignore: false,
+    extensions: [".mjs", ".js"],
+    ignore: (file) => {
+        return file.indexOf("/node_modules/") !== -1 && file.indexOf("/simple-spy/") === -1
+    },
     presets: [
-        ["env", { "targets": { "node": "4" } }]
+        ["env", { "targets": { "node": "4.0.0" } }]
     ],
     sourceMaps: "inline",
 })
Fix: node 4 problem in tests