Skip to content

Instantly share code, notes, and snippets.

@inkredabull
Created July 21, 2013 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inkredabull/6047314 to your computer and use it in GitHub Desktop.
Save inkredabull/6047314 to your computer and use it in GitHub Desktop.
"Cannot call method 'setup' of undefined" : ember-mocha-adapter
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