mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -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({
|
grunt.util.spawn({
|
||||||
cmd: 'casperjs',
|
cmd: 'casperjs',
|
||||||
args: args,
|
args: args,
|
||||||
|
|
Loading…
Add table
Reference in a new issue