Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

Import "chai-jquery" and "chai-dom" automatically if available #7

Merged
merged 4 commits into from
Nov 26, 2016

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Nov 25, 2016

Example:

expect(find('.test-element')).to.have.text('hello');

inspired by https://github.com/Dhaulagiri/ember-chai-jquery 👍

/cc @Dhaulagiri @trentmwillis

@Turbo87
Copy link
Member Author

Turbo87 commented Nov 25, 2016

This kinda depends on nathanboktae/chai-dom#17, because their current release will result in JS errors...

@Turbo87 Turbo87 merged commit f920358 into ember-cli:master Nov 26, 2016
@Turbo87 Turbo87 deleted the jquery branch November 26, 2016 14:29
@Dhaulagiri
Copy link
Contributor

Nice one!

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.

2 participants