fix a bunch of casper tests

This commit is contained in:
Peter Cottle 2015-04-06 10:50:52 -07:00
parent 84e8ce71ae
commit c76963d86e
16 changed files with 11 additions and 7 deletions

View file

@ -195,8 +195,8 @@ module.exports = function(grunt) {
command: 'git add build/'
},
casperTest: {
command: 'casperjs test ./src/__tests__/casperjs/*_test.js || ' +
'open ./src/__tests__/casperjs/screenshots/*.png'
command: 'echo "Running $(ls -1 ./src/__tests__/casperjs/*_test.js | wc -l) tests" && ' +
'ls -1 ./src/__tests__/casperjs/*_test.js | while IFS= read -r line; do casperjs test $line; done'
}
},
jasmine_node: {