Skip to content

Commit 2914926

Browse files
committed
make casperjs use local phantomjs
1 parent d4d42ac commit 2914926

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/grunt-tasks/casper.js

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ module.exports = function (grunt) {
77
var path = require('path')
88
var done = this.async()
99
var file = id ? id + '.js' : ''
10+
// let casperjs use local phantomjs
11+
process.env.PHANTOMJS_EXECUTABLE =
12+
'../../node_modules/karma-phantomjs-launcher/node_modules/.bin/phantomjs'
1013
grunt.util.spawn({
1114
cmd: '../../node_modules/.bin/casperjs',
1215
args: ['test', '--concise', './' + file],

0 commit comments

Comments
 (0)