From 658efd1a23b6310658daefea734b87b01558d07f Mon Sep 17 00:00:00 2001 From: kirrg001 Date: Thu, 9 Jun 2016 13:01:35 +0200 Subject: [PATCH] fix: require overrides for mocha coverage --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index a6a0a632b9..5198a06207 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -188,7 +188,7 @@ var _ = require('lodash'), options: { mask: '**/*_spec.js', coverageFolder: 'core/test/coverage/unit', - mochaOptions: ['--timeout=15000'], + mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides'], excludes: ['core/client', 'core/server/built'] } }, @@ -202,7 +202,7 @@ var _ = require('lodash'), options: { coverageFolder: 'core/test/coverage/all', mask: '**/*_spec.js', - mochaOptions: ['--timeout=15000'], + mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides'], excludes: ['core/client', 'core/server/built'] }