Skip to main content

All Questions

0 votes
1 answer
1k views

"define is not defined" - jasmine-node requirejs in Nodejs

I am trying to run jasmine tests on files that are using requirejs. I have a require.config.js file which provides all the configuration for the requirejs and I am passing to this command to run the ...
Nephilim700's user avatar
0 votes
1 answer
65 views

Jasmine & requirejs support for multi modules?

I am currently using Jasmine ("jasmine": "^2.4.1") with Node v6.1.0 I am both trying to provide and consume multiple modules in one file - however keep getting errors like object undefined or null ...
shenku's user avatar
  • 12.3k
0 votes
0 answers
81 views

Running Jasmine tests from Node against code that uses RequireJS

Is it possible to run Jasmine from Node to test code that uses RequireJS? I am using the Jasmine NPM. I can run some tests from Node but can't work out how to test my code that uses RequireJS. V2 of ...
James's user avatar
  • 71
2 votes
0 answers
1k views

testing require modules with jasmine in nodejs

I ma trying to load require modules in node to test with jasmine. Hers my spec runner var coffee, isVerbose, jasmine, key, showColors, sys, i, len, jasmine = ...
rigaman's user avatar
  • 151