Created
July 21, 2013 03:05
-
-
Save inkredabull/6047314 to your computer and use it in GitHub Desktop.
"Cannot call method 'setup' of undefined" : ember-mocha-adapter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I ran into this issue while running Karma. Turns out I wasn't including the right lib and adapter in my karma.conf.js. | |
Had: | |
files = [ | |
JASMINE, | |
JASMINE_ADAPTER | |
... | |
] | |
needed: | |
files = [ | |
MOCHA, | |
MOCHA_ADAPTER | |
... | |
] | |
Realized my err thanks to [1] | |
[1] : http://jaketrent.com/post/test-requirejs-testacular/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment