javascript - Karma test fails in Firefox with strange error -
i've got odd behavior 1 of tests. runs in chrome, fails in firefox.
tests directive , error occurs in beforeeach
block.
typeerror: menu null (path/to/file.js:6) //this points block of comments process.on/global.onerror@/dir/node_modules/mocha/mocha.js:5708 //this function throws every unhandled error
the directive work in firefox. beforeeach
compiles , sets properties on scope. strange may seem, tests of describe
block report have passed, webstorm reports 24 out of 28 it
s done.
any ideas hack going on?
Comments
Post a Comment