Closed
Description
When generating a new app and running grunt test
you get:
ERROR [config]: File /path/to/projectroot/karma.conf.js does not exist!
I had a look at Gruntfile.js (lines 396 - 402)
// Test settings
karma: {
unit: {
configFile: 'karma.conf.js',
singleRun: true
}
},
The file is actually not in the project's root, but in test/. Changing line 399 from
configFile: 'karma.conf.js'
to configFile: 'test/karma.conf.js'
solved the issue for me.