I have this Node.js code (Node.js version 8.5.0):
try {
window.__karma__.complete();
}
finally {
}
and I am getting this error:
ReferenceError: window is not defined
this seems pretty bizarre, considering this is in a try/catch block.
Anybody know how/why this could happen? I am on Ubuntu, I swear this does not happen on my MacOS machine. I am writing universal/isomorphic code - if window is defined, I should be in the browser.
finallyblock