You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i find some problem when test file has some error.
And this will break karma test task.
PhantomJS 1.9.8 (Linux 0.0.0) ERROR
ReferenceError: Can't find variable: alter
at /home/vagrant/github/karma_test/src/hello_src.js:12
undefined
ERROR [karma]: [TypeError: Cannot read property 'results' of undefined]
TypeError: Cannot read property 'results' of undefined
at onBrowserComplete (/home/vagrant/github/karma_test/node_modules/karma-htmlfile-reporter/index.js:90:10)
at null.<anonymous> (/home/vagrant/github/karma_test/node_modules/karma/lib/events.js:14:22)
at emit (events.js:117:20)
at onComplete (/home/vagrant/github/karma_test/node_modules/karma/lib/browser.js:142:13)
at Socket.<anonymous> (/home/vagrant/github/karma_test/node_modules/karma/lib/events.js:14:22)
at Socket.emit [as $emit] (events.js:117:20)
at SocketNamespace.handlePacket (/home/vagrant/github/karma_test/node_modules/karma/node_modules/socket.io/lib/namespace.js:335:22)
at Manager.onClientMessage (/home/vagrant/github/karma_test/node_modules/karma/node_modules/socket.io/lib/manager.js:488:38)
at WebSocket.Transport.onMessage (/home/vagrant/github/karma_test/node_modules/karma/node_modules/socket.io/lib/transport.js:387:20)
at Parser.<anonymous> (/home/vagrant/github/karma_test/node_modules/karma/node_modules/socket.io/lib/transports/websocket/default.js:36:10)
Hello, i find some problem when test file has some error.
And this will break karma test task.
And i find the problem.
link this https://github.com/matthias-schuetz/karma-htmlfile-reporter/blob/master/index.js#L87
here
suite
is undefined.And i think we should test it before use just using if statement.
The text was updated successfully, but these errors were encountered: