Description
Tell us about the problem
tns test is failing with :ERROR [karma]: TypeError: Cannot read property 'markCaptured' of undefined
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
- CLI: next
- Runtime(s): next
Please tell us how to recreate the issue in as much detail as possible.
tns create app
tns build <platform>
tns test init --framework mocha
npm install mocha --save-dev
tns test <platform>
18 06 2018 13:30:02.974:ERROR [karma]: TypeError: Cannot read property 'markCaptured' of undefined at Launcher.markCaptured (/Users/user/MyDocuments/unitApp/node_modules/karma/lib/launcher.js:176:13) at Server.on (/Users/user/MyDocuments/unitApp/node_modules/karma/lib/server.js:179:16) at Server.emit (events.js:164:20) at Browser.init (/Users/user/MyDocuments/unitApp/node_modules/karma/lib/browser.js:54:18) at Socket.socket.on (/Users/user/MyDocuments/unitApp/node_modules/karma/lib/server.js:235:22) at Socket.emit (events.js:159:13) at /Users/user/MyDocuments/unitApp/node_modules/socket.io/lib/socket.js:513:12 at process._tickCallback (internal/process/next_tick.js:150:11) CONSOLE LOG file:///app/tns_modules/nativescript-unit-test-runner/main-view-model.js:90:28: NSUTR-socket.io: io server disconnect Test run failed.