mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
fix: require overrides for mocha coverage
This commit is contained in:
parent
bac4a3d880
commit
658efd1a23
1 changed files with 2 additions and 2 deletions
|
@ -188,7 +188,7 @@ var _ = require('lodash'),
|
||||||
options: {
|
options: {
|
||||||
mask: '**/*_spec.js',
|
mask: '**/*_spec.js',
|
||||||
coverageFolder: 'core/test/coverage/unit',
|
coverageFolder: 'core/test/coverage/unit',
|
||||||
mochaOptions: ['--timeout=15000'],
|
mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides'],
|
||||||
excludes: ['core/client', 'core/server/built']
|
excludes: ['core/client', 'core/server/built']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -202,7 +202,7 @@ var _ = require('lodash'),
|
||||||
options: {
|
options: {
|
||||||
coverageFolder: 'core/test/coverage/all',
|
coverageFolder: 'core/test/coverage/all',
|
||||||
mask: '**/*_spec.js',
|
mask: '**/*_spec.js',
|
||||||
mochaOptions: ['--timeout=15000'],
|
mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides'],
|
||||||
excludes: ['core/client', 'core/server/built']
|
excludes: ['core/client', 'core/server/built']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue