MortenHoustonLudvigsen / KarmaTestAdapter

A Visual Studio test explorer adapter for Karma
MIT License
20 stars 14 forks source link

Issue when running tests #42

Open deenairn opened 8 years ago

deenairn commented 8 years ago

Noticed the following appearing on my log quite a number of times lately - not certain the source of the issue. Tests essentially don't run unless I restart Visual studio which is a bit weird

[07.10.2015 15:28:42.620] [Karma] [Debug] [Project] 07 10 2015 15:28:41.162:DEBUG [karma]: All browsers are ready, executing
[07.10.2015 15:28:42.620] [Karma] [Debug] [Project] 07 10 2015 15:28:41.162:INFO [VS Server]: Test run start
[07.10.2015 15:28:42.621] [Karma] [Debug] [Project] 07 10 2015 15:28:41.353:DEBUG [VS Reporter]: [TypeError: Cannot read property 'indexOf' of undefined]
[07.10.2015 15:28:42.621] [Karma] [Debug] [Project] TypeError: Cannot read property 'indexOf' of undefined
[07.10.2015 15:28:42.622] [Karma] [Debug] [Project]     at Object.ErrorStackParser$$extractLocation [as extractLocation] (C:\USERS\User\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\1EVD0WKV.OSO\node_modules\error-stack-parser\error-stack-parser.js:42:24)
[07.10.2015 15:28:42.622] [Karma] [Debug] [Project]     at Object.<anonymous> (C:\USERS\User\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\1EVD0WKV.OSO\node_modules\error-stack-parser\error-stack-parser.js:60:42)
[07.10.2015 15:28:42.623] [Karma] [Debug] [Project]     at Array.map (native)
[07.10.2015 15:28:42.623] [Karma] [Debug] [Project]     at Object.ErrorStackParser$$parseV8OrIE [as parseV8OrIE] (C:\USERS\User\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\1EVD0WKV.OSO\node_modules\error-stack-parser\error-stack-parser.js:58:53)
[07.10.2015 15:28:42.623] [Karma] [Debug] [Project]     at Object.ErrorStackParser$$parse [as parse] (C:\USERS\User\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\1EVD0WKV.OSO\node_modules\error-stack-parser\error-stack-parser.js:27:29)
[07.10.2015 15:28:42.624] [Karma] [Debug] [Project]     at SourceUtils.parseStack (C:\USERS\User\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\1EVD0WKV.OSO\TestServer\SourceUtils.js:90:37)
[07.10.2015 15:28:42.624] [Karma] [Debug] [Project]     at SourceUtils.normalizeStack (C:\USERS\User\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\1EVD0WKV.OSO\TestServer\SourceUtils.js:108:32)
[07.10.2015 15:28:42.625] [Karma] [Debug] [Project]     at C:\USERS\User\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\1EVD0WKV.OSO\TestServer\TestReporter.js:124:42
[07.10.2015 15:28:42.625] [Karma] [Debug] [Project]     at Array.map (native)
[07.10.2015 15:28:42.626] [Karma] [Debug] [Project]     at TestReporter.onSpecDone (C:\USERS\User\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\1EVD0WKV.OSO\TestServer\TestReporter.js:122:61)
[07.10.2015 15:28:42.626] [Karma] [Debug] [Project]     at Reporter.onSpecComplete (C:\USERS\User\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\1EVD0WKV.OSO\KarmaTestServer\Reporter.js:62:35)
[07.10.2015 15:28:42.627] [Karma] [Debug] [Project]     at null.<anonymous> (c:\Code\Modules\Solution\Trunk\src\Project\node_modules\karma\lib\events.js:13:22)
[07.10.2015 15:28:42.627] [Karma] [Debug] [Project]     at emit (events.js:110:17)
[07.10.2015 15:28:42.628] [Karma] [Debug] [Project]     at onResult (c:\Code\Modules\Solution\Trunk\src\Project\node_modules\karma\lib\browser.js:216:13)
[07.10.2015 15:28:42.628] [Karma] [Debug] [Project]     at Socket.<anonymous> (c:\Code\Modules\Solution\Trunk\src\Project\node_modules\karma\lib\events.js:13:22)
[07.10.2015 15:28:42.629] [Karma] [Debug] [Project]     at Socket.emit (events.js:129:20)
[07.10.2015 15:28:42.629] [Karma] [Debug] [Project] 07 10 2015 15:28:41.661:INFO [VS Server]: Test run complete