jasmine-node icon indicating copy to clipboard operation
jasmine-node copied to clipboard

[ReferenceError: define is not defined] is being shown even after require module is loaded fine

Open srikanthrapolu opened this issue 10 years ago • 2 comments

Hi, I am using jasmine-node module to run jasmine testcases, i am able to requiring using require() but usually in require script we have one method called define which is used to make asynchronous execution, but here i am facing above error when define is triggered in my code.

node version : v0.10.12 npm version: 1.2.32 windows8 phantomjs version: 1.9.7

please help me as soon as possible

srikanthrapolu avatar May 12 '14 04:05 srikanthrapolu

Which version do you use from jasmine-node? Because accordint to #294 RequireJS support is removed

sonicoder86 avatar May 28 '14 18:05 sonicoder86

"version": "1.14.3" Please reply me as soon as possible

srikanthrapolu avatar May 29 '14 10:05 srikanthrapolu