Closed webgago closed 6 years ago
Maybe the issue is that library expects global
property to exist on window
Try to define it yourself before running mocha
window.global = window
I will check it on this weekend.
Recently I published a new version with few bug fixes and performance improvements. Could you please create a reproduction repo, to test things easily?
close as there is no activity. @webgago feel free to reopen if you think it's still important.
P.S.: I successfully used this with protractor + mocha + chai + chai-as-promised
I was trying to make it work but no success... I know they have this https://github.com/webdriverio/wdio-mocha-framework/blob/master/lib/adapter.js#L6 But even when I add bdd-lazy-var to the INTERFACES it doesn't work: