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
if I open CONTEXT page with jasmine test result while tests are running locally, It will always end up with errors: TypeError: Cannot read properties of undefined (reading 'info')
the issue is happening inside of context.js script due to karma is undefined for parentWindow object
ContextKarma.getDirectCallParentKarmaMethod=function(parentWindow){returnfunctiondirectCallParentKarmaMethod(method,args){// If the method doesn't exist, then error outif(!parentWindow.karma[method]){parentWindow.karma.error('Expected Karma method "'+method+'" to exist but it doesn\'t')return}// Otherwise, run our methodparentWindow.karma[method].apply(parentWindow.karma,args)}}
Steps to reproduce:
Generate a new project from scratch by angular cli: ng n <project_name>.
Riding a dead horse but perhaps this is helping someone:
I had a similar error with an pending('waiting for adjustment') inside an describe.
Moving inside it solved the problem here.
if I open CONTEXT page with jasmine test result while tests are running locally, It will always end up with errors:
TypeError: Cannot read properties of undefined (reading 'info')
the issue is happening inside of context.js script due to karma is undefined for parentWindow object
Steps to reproduce:
The text was updated successfully, but these errors were encountered: