You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I closed the issue I opened earlier because it all boils down to this 1 issue
With karma/testem/qunit in browser - how do I force the test runner to execute a transpiled amd module? My test is very simple (including a simple import for my person model in this example), but karma never executes the specs inside the module.
Any help would be really appreciated
define("js/tests/unit/unit_tests",["js/models/person"],function(__dependency1__){"use strict";varPerson=__dependency1__["default"];test('selects first tab and shows the panel',function(){expect(1);equal(1,1);});});
The text was updated successfully, but these errors were encountered:
Karma has config options for AMD and requirejs, if you're using named AMD (heaven help us) then you need to drop in your loader to. This is all karma stuff though, not ember-qunit so I'm closing. Ping me tomorrow and I can point you to some things.
I finally got a full blown working example of this on github (including unit and integration tests side-by-side). requires the manual qunit setup currently (bug in the es6 transpiler + karma that will be fixed in the next es6-transpiler release)
I closed the issue I opened earlier because it all boils down to this 1 issue
With karma/testem/qunit in browser - how do I force the test runner to execute a transpiled amd module? My test is very simple (including a simple import for my person model in this example), but karma never executes the specs inside the module.
Any help would be really appreciated
The text was updated successfully, but these errors were encountered: