Closed
Description
I've followed the instructions, but when I execute npm run test, I'm receiving the following error:
> [email protected] test-ci /home/jmgomez/securitas/test/starter-with-testing
> karma start ./test-config/karma.conf.js --single-run
webpack: Compiled successfully.
webpack: Compiling...
webpack: Compiled with warnings.
16 02 2018 15:24:04.909:INFO [karma]: Karma v2.0.0 server started at http://0.0.0.0:9876/
16 02 2018 15:24:04.910:INFO [launcher]: Launching browser Chrome with unlimited concurrency
16 02 2018 15:24:04.931:INFO [launcher]: Starting browser Chrome
16 02 2018 15:24:05.989:INFO [Chrome 64.0.3282 (Linux 0.0.0)]: Connected on socket 6K6qqAOzO0RIRsN8AAAA with id 89855277
Chrome 64.0.3282 (Linux 0.0.0) ERROR
{
"message": "An error was thrown in afterAll\nUncaught TypeError: env.catchExceptions is not a function",
"str": "An error was thrown in afterAll\nUncaught TypeError: env.catchExceptions is not a function"
}
Chrome 64.0.3282 (Linux 0.0.0) ERROR
{
"message": "An error was thrown in afterAll\nUncaught TypeError: env.catchExceptions is not a function",
"str": "An error was thrown in afterAll\nUncaught TypeError: env.catchExceptions is not a function"
}
Chrome 64.0.3282 (Linux 0.0.0): Executed 0 of 0 ERROR (0.004 secs / 0 secs)
Chrome 64.0.3282 (Linux 0.0.0): Executed 0 of 0 ERROR (0.016 secs / 0 secs)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test-ci: `karma start ./test-config/karma.conf.js --single-run`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test-ci script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/jmgomez/.npm/_logs/2018-02-16T14_24_06_588Z-debug.log
Result for ionic info is the following one:
cli packages: (/home/jmgomez/.nvm/versions/node/v8.9.1/lib/node_modules)
@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1
local packages:
@ionic/app-scripts : 3.1.8
Ionic Framework : ionic-angular 3.9.2
System:
Node : v8.9.1
npm : 5.6.0
OS : Linux 4.4
Misc:
backend : pro
My android version is 5 instead of 4 as you can check in the package.json uploaded in the repository https://github.com/biaggi/karma-test-failing. Any hint on what's happening there?
Metadata
Metadata
Assignees
Labels
No labels