Open iambumblehead opened 10 months ago
Is there a formula for using mocha+browser and mocha+node, where tests import JSDOM for node environments only and use global window for browser environments?
Thanks in advance for any advice or help
This sounds like a great example to add 😄. Transferred over to the appropriate repo and switched from type: question to type: feature. Cheers! 🤎
type: question
type: feature
Is there a formula for using mocha+browser and mocha+node, where tests import JSDOM for node environments only and use global window for browser environments?
Thanks in advance for any advice or help