angus icon indicating copy to clipboard operation
angus copied to clipboard

investigate whether angular can be used in karma tests

Open nickjanssen opened this issue 10 years ago • 2 comments

nickjanssen avatar Sep 07 '14 10:09 nickjanssen

bower_components/angular/angular.min.js should be added to the core/gulp/karma.js in the attribute files, as well as a reference to all source files: '/src//*'

ingmargoudt avatar Sep 07 '14 11:09 ingmargoudt

Forget that first comment. Better is to let the core/gulp/karma.js reference to the karma.config.js file that resides in the angus.AppPath. The user can then edit and customize the config file for karma.

karma.start({ configFile: angus.AppPath + '/karma.conf.js', singleRun: true })

ingmargoudt avatar Sep 07 '14 11:09 ingmargoudt