Closed mikeerickson closed 8 years ago
As an aside, my original beforeEach (without bard) is as follows (and works fine)
beforeEach(function() {
module('lookup-test');
inject(function($controller, _$log_, _$timeout_, _$q_, lookupService) {
$log = _$log_;
$timeout = _$timeout_;
$q = _$q_;
controller = $controller('LookupTestController');
});
});
Well, on a whim I decided to try the un-minified version and now it works. In my karma.conf.js file, I changed
// module dependencies and angular mocks library
'node_modules/angular/angular.js',
'node_modules/angular-mocks/angular-mocks.js',
'node_modules/angular-ui-select/select.js',
'node_modules/bardjs/dist/bard.min.js',
to
// module dependencies and angular mocks library
'node_modules/angular/angular.js',
'node_modules/angular-mocks/angular-mocks.js',
'node_modules/angular-ui-select/select.js',
'node_modules/bardjs/dist/bard.js',
I am trying to get bard up and running with karma, but having issues right away with the appModule method (see below)
Is there a loading hierarchy for bard?
Here is my karam.conf.js