mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
🐛 fix grunt test (#8266)
no issue - it was not possible to run a single test in core/server/apps/.../tests
This commit is contained in:
parent
9d020c93fc
commit
8f7ee82122
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ var overrides = require('./core/server/overrides'),
|
|||
grunt.fail.fatal('No test provided. `grunt test` expects a filename. e.g.: `grunt test:unit/apps_spec.js`. Did you mean `npm test` or `grunt validate`?');
|
||||
}
|
||||
|
||||
if (!test.match(/core\/test/)) {
|
||||
if (!test.match(/core\/test/) && !test.match(/core\/server/)) {
|
||||
test = 'core/test/' + test;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue