Can't Run the Unit Tests
Opened this issue · 0 comments
I've followed the documentation about how to run the unit tests
Running unit tests
Setup
Run the following commands before running test-cases for the first time:
npm install - This will install Bower globally and Karma test runner locally.
bower install - This will install components that are needed to run test-cases.
Running
Tests can be run using following command: karma start
So I do that and then obtain the following error.
C:\Dev\GitHub\angular-kendo>karma start
ERROR [config]: Invalid config file!
ReferenceError: JASMINE is not defined
C:\Dev\GitHub\angular-kendo>karma start
ERROR [config]: Invalid config file!
ReferenceError: JASMINE is not defined
at Object. (C:\Dev\GitHub\angular-kendo\karma.conf.js:17: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 (C:\Dev\GitHub\angular-kendo\node_modules\karma\lib\config.js:250:22)
at Object.exports.start (C:\Dev\GitHub\angular-kendo\node_modules\karma\lib\server.js:278:20)
at Object.exports.run (C:\Dev\GitHub\angular-kendo\node_modules\karma\lib\cli.js:224:25)
Is there a step missing from the docs? Where I am going wrong?