0
Fork 0
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:
Hannah Wolfe 2014-06-04 22:28:54 +01:00
parent cb6f34d67d
commit ace076b253

View file

@ -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,