Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid setting QUnit.module.exports = Pretender. #156

Closed
wants to merge 1 commit into from

Commits on May 5, 2016

  1. Avoid setting QUnit.module.exports = Pretender.

    When using `QUnit` along with `Pretender`, the UMD style that we were previously using would assign an `.exports` property to the `QUnit.module` method (which is present in QUnit 1.x as `self.module` also). This changes to check that we are actually in a node-like environment (where `exports === module.exports`) before setting `module.exports`.
    rwjblue committed May 5, 2016
    Configuration menu
    Copy the full SHA
    38c301d View commit details
    Browse the repository at this point in the history