Hi,
While running test.bat getting below error:
D:\Personal\Knowledge\Angular\angular-seed-demo-master\angular-seed-demo-master\scripts>test.bat
ERROR [config]: Invalid config file!
ReferenceError: JASMINE is not defined
at Object.<anonymous>
(D:\Personal\Knowledge\Angular\angular-seed-demo-master\angular-seed-demo-master\config\karma.conf.js:4:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.parseConfig
(D:\Personal\Knowledge\Angular\angular-seed-demo-master\angular-seed-demo-master\node_modules\karma\lib\config.js:254:22)
at Object.exports.start
(D:\Personal\Knowledge\Angular\angular-seed-demo-master\angular-seed-demo-master\node_modules\karma\lib\server.js:279:20)
at Object.exports.run
(D:\Personal\Knowledge\Angular\angular-seed-demo-master\angular-seed-demo-master\node_modules\karma\lib\cli.js:220:27)
*Below is my karma.conf.js:*
module.exports = function (config) {
config.set({
basePath: '../',
frameworks: ['jasmine'],
files: [
'app/lib/angular/angular.js',
'app/lib/angular/angular-*.js',
'test/lib/angular/angular-mocks.js',
'app/js/*.js',
'test/unit/*.js'
] ,
autoWatch: true,
browsers: ['Chrome'],
plugins: ['karma-jasmine'],
junitReporter: {
outputFile: 'test_out/unit.xml',
suite: 'unit'
}
})
}
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.