0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Merge pull request #6952 from kirrg001/fix/mocha-coverage

fix: require overrides for mocha coverage
This commit is contained in:
Hannah Wolfe 2016-06-09 12:33:35 +01:00
commit 6d0b4ba03c

View file

@ -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']
}