mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Allow extra options to be passed to casper tests
This commit is contained in:
parent
cb6f34d67d
commit
ace076b253
1 changed files with 8 additions and 0 deletions
|
@ -618,6 +618,14 @@ var path = require('path'),
|
|||
}
|
||||
});
|
||||
|
||||
if (grunt.option('fail-fast')) {
|
||||
args.push('--fail-fast');
|
||||
}
|
||||
|
||||
if (grunt.option('concise')) {
|
||||
args.push('--concise');
|
||||
}
|
||||
|
||||
grunt.util.spawn({
|
||||
cmd: 'casperjs',
|
||||
args: args,
|
||||
|
|
Loading…
Reference in a new issue