diff --git a/tasks/config/simplemocha.js b/tasks/config/simplemocha.js index a1a4ee24b4e43..16450d235d700 100644 --- a/tasks/config/simplemocha.js +++ b/tasks/config/simplemocha.js @@ -1,5 +1,3 @@ -require('../../test/mocha_setup'); - module.exports = { options: { timeout: 10000, @@ -10,6 +8,7 @@ module.exports = { }, all: { src: [ + 'test/mocha_setup.js', 'test/**/__tests__/**/*.js', 'src/**/__tests__/**/*.js', 'test/fixtures/__tests__/*.js', @@ -19,6 +18,7 @@ module.exports = { }, api: { src: [ + 'test/mocha_setup.js', 'test/unit/**/*.js' ] }