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

fix: use this.equals instead of import jasmineUtils #103

Merged
merged 1 commit into from
May 8, 2019

Conversation

revathskumar
Copy link
Contributor

What:

As per the comment by @SimenB

This will remove the direct import of jasmineUtils

import {equals} from 'expect/build/jasmineUtils'

and instead use this.equals.

Also removes the added dependency of expect.

Why:

How:

Checklist:

  • Documentation
  • Tests
  • Updated Type Definitions
  • Ready to be merged
  • Added myself to contributors table

As per the [comment](testing-library#93 (comment)) by @SimenB

This will remove the direct import of jasmineUtils

`import {equals} from 'expect/build/jasmineUtils'`

and instead use `this.equals`.

Also removes the added dependency of `expect`.
Copy link
Member

@gnapse gnapse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SimenB I'm approving, but just in case you can check this out.

@SimenB
Copy link
Contributor

SimenB commented May 8, 2019

Perfect! 🙂

@gnapse gnapse merged commit 2bc084f into testing-library:master May 8, 2019
@gnapse
Copy link
Member

gnapse commented May 8, 2019

🎉 This PR is included in version 3.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gnapse gnapse added the released label May 8, 2019
@revathskumar revathskumar deleted the fix/use-this-equals branch May 14, 2019 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants