You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the config file tasks/jasmine/phantom-config.json is never read.
Use this configuration:
{"webSecurityEnabled" : false}
and log the phantom.defaultPageSettings.webSecurityEnabled property.
quick fix: change the arguments in the call of phantomjs helper from:
args : [// The main script file.grunt.task.getFile('jasmine/phantom-jasmine-runner.js'),// The temporary file used for communications.tempfile.path,// The Jasmine helper file to be injected.grunt.task.getFile('jasmine/jasmine-helper.js'),// URL to the Jasmine .html test file to run.url,timeout,// PhantomJS options.'--config='+grunt.task.getFile('jasmine/phantom-config.json')]
to:
args : [// PhantomJS options.'--config='+grunt.task.getFile('jasmine/phantom-config.json'),// The main script file.grunt.task.getFile('jasmine/phantom-jasmine-runner.js'),// The temporary file used for communications.tempfile.path,// The Jasmine helper file to be injected.grunt.task.getFile('jasmine/jasmine-helper.js'),// URL to the Jasmine .html test file to run.url,timeout]
Moreover, it could be great to have the ability to set a config file path from the gruntfile.
The text was updated successfully, but these errors were encountered:
the config file tasks/jasmine/phantom-config.json is never read.
Use this configuration:
and log the phantom.defaultPageSettings.webSecurityEnabled property.
quick fix: change the arguments in the call of phantomjs helper from:
to:
Moreover, it could be great to have the ability to set a config file path from the gruntfile.
The text was updated successfully, but these errors were encountered: