Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameters in grunt config file not passed to jasmine-node #40

Open
sonicoder86 opened this issue Apr 15, 2014 · 3 comments
Open

Parameters in grunt config file not passed to jasmine-node #40

sonicoder86 opened this issue Apr 15, 2014 · 3 comments

Comments

@sonicoder86
Copy link

I use RequireJs in jasmine-node and i get the following error when upgrading from 0.1 to 0.2:
[ReferenceError: requirejs is not defined]
Because the parameters in the Grunt config file are not passed, the retrieving of the config parameters is somehow broken (var options = this.options({ ... }))

@sonicoder86
Copy link
Author

markup of grunt config changed, but found no entries about it in the changes log

@sonicoder86
Copy link
Author

old config:
jasmine_node: {
specFolders: ['tests/minesweeper/model'],
projectRoot: "web/js/minesweeper",
requirejs: "tests/lib/requireconfig/node.js"
},

@sonicoder86
Copy link
Author

new config
jasmine_node: {
options: {
specFolders: ['tests/minesweeper/model'],
projectRoot: "web/js/minesweeper",
requirejs: "tests/lib/requireconfig/node.js"
},
all: ['tests/minesweeper/model']
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant