I used brunch with ember https://github.com/fuseelements/ember-brunch-skeleton
and now I'm trying to get unit tests happening with testacular / karma (testacular has recently been renamed karma)
brunch uses require.js. when I try to start karma, I get an error message that makes me think that either the request is not loaded properly or my configuration file is corrupted.
Uncaught TypeError: Object function (deps, callback, errback, optional) { ..... has no method 'register' at app.js:82
I assume that my configuration file is corrupted, or I forget something really simple here. here is the corresponding fragment from my karma configuration file. what am I doing wrong?
files = [ JASMINE, JASMINE_ADAPTER, REQUIRE, REQUIRE_ADAPTER, '../public/javascripts/app_vendor.js', '../public/javascripts/app.js', 'test/**/**/*_spec.js', ];
source share