Joined January 2012
·
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
Github Gameoff Participant
Participated in the Github Gameoff 2012 building a game based on git concepts of forking, branching, etc
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Mongoose
Have at least one original repo where Ruby is the dominant language
Altruist
Increase developer well-being by sharing at least 20 open source projects
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Nephila Komaci 3
Have at least three original repos where PHP is the dominant language
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
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?