Skip to content

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.

3 participants