diff --git a/test/_helper.js b/test/_helper.js index 8273a11443..6f5afdd93b 100644 --- a/test/_helper.js +++ b/test/_helper.js @@ -49,7 +49,7 @@ exports.get = function (entryName) { if (fs.statSync(taskDir).isFile()) { var ext = path.extname(taskDir); - if (ext === ".json") return; + if (ext !== ".js") return; execLoc = taskDir; }