Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Use mocha + chai shims #42

Merged
merged 2 commits into from
Feb 22, 2015
Merged

Use mocha + chai shims #42

merged 2 commits into from
Feb 22, 2015

Conversation

dgeb
Copy link
Member

@dgeb dgeb commented Feb 22, 2015

ember-mocha 0.5.1 now exports shims for both mocha and chai (thanks @rwjblue!). These shims allow us to avoid using globals in our tests.

This PR updates the test blueprints conservatively, so that only the necessary functions are imported from these new shims.

[Fixes #37]

dgeb added a commit that referenced this pull request Feb 22, 2015
@dgeb dgeb merged commit d0de40b into master Feb 22, 2015
@dgeb dgeb deleted the mocha-chai-shims branch February 22, 2015 20:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jshint error for 'describe/it not defined' on generated helper tests
2 participants