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
Running "jasmine:taskName" (jasmine) task
Testing Jasmine specs via PhantomJS
Warning: PhantomJS timed out, possibly due to an unfinished async spec. Use --force to continue.
Gruntfile.js
#```javascript
module.exports = function(grunt) {
// Example configuration using a single requireJS config file
grunt.initConfig({
jasmine: {
taskName: {
src: 'src/*.js',
options: {
specs: 'spec/*Spec.js',
//helpers: 'spec/*Helper.js',
template: require('grunt-template-jasmine-requirejs'),
templateOptions: {
//requireConfigFile: 'src/main.js'
}
}
}
}
});
See #88 and #89 for the solution. I wound up forking this repo and pulling in various changes to get it working for me. YMMV.
For what it's worth, it doesn't really look like this git repo is being actively maintained. Perhaps it's time for someone to fork it and take it over.
Error:
Running "jasmine:taskName" (jasmine) task
Testing Jasmine specs via PhantomJS
Warning: PhantomJS timed out, possibly due to an unfinished async spec. Use --force to continue.
Gruntfile.js
#```javascript
module.exports = function(grunt) {
// Example configuration using a single requireJS config file
grunt.initConfig({
jasmine: {
taskName: {
src: 'src/*.js',
options: {
specs: 'spec/*Spec.js',
//helpers: 'spec/*Helper.js',
template: require('grunt-template-jasmine-requirejs'),
templateOptions: {
//requireConfigFile: 'src/main.js'
}
}
}
}
});
};
The text was updated successfully, but these errors were encountered: