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
Currently you're expected to get a function from any given (non-bundled) plugin, and pass that into mocha.use(). But if we're bundling plugins for the browser, they can attach themselves to a global namespace (ostensibly window.mocha). I think this is reasonable.
I'm trying to implement but it's currently broken; see wip branch
The text was updated successfully, but these errors were encountered:
boneskull
changed the title
determine how mocha when run in browser will resolve plugins
when run in browser, how will resolve Mocha plugins?
Apr 8, 2016
boneskull
changed the title
when run in browser, how will resolve Mocha plugins?
when run in browser, how will Mocha resolve plugins?
Apr 8, 2016
Currently you're expected to get a function from any given (non-bundled) plugin, and pass that into
mocha.use()
. But if we're bundling plugins for the browser, they can attach themselves to a global namespace (ostensiblywindow.mocha
). I think this is reasonable.I'm trying to implement but it's currently broken; see
wip
branchThe text was updated successfully, but these errors were encountered: