Joined January 2012
·

Lorenzo Pisani

TinyPay.me
·
San Francisco, CA
·
·
·

Posted to Mock/stub your requirejs dependecies over 1 year ago

ok ok, I found the problem… I'm executing the jasmine environment before the code in the context runs… how do you make sure it's done in the right order?

Posted to Mock/stub your requirejs dependecies over 1 year ago

I'm getting "Cannot read property 'suites' of undefined" occasionally =/

Posted to Mock/stub your requirejs dependecies over 1 year ago

I can't seem to get this to work… if I ever use the context variable for getting dependencies, none of the jasmine tests in that function seem to register. Have you ever seen that issue?

The mocks are correctly created and my modules are loaded… I can log right above the describe() function call but they simply don't register.

Achievements
87 Karma
0 Total ProTip Views