Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Compatibility with jasmine 2.0 #153

Closed
wants to merge 1 commit into from

Conversation

slackersoft
Copy link

  • Jasmine 2.0 doesn't allow you to grab the existing matcher and
    override it, so the matchers that did that had to be re-worked.
  • toBe is now a customEqualityTester so:
    • toBe($('.foo'))
      becomes:
    • toEqual($('.foo'))
  • toContain was renamed to toContainElement

- Jasmine 2.0 doesn't allow you to grab the existing matcher and
  override it, so the matchers that did that had to be re-worked.
- toBe is now a customEqualityTester so:
  - toBe($('.foo'))
  becomes:
  - toEqual($('.foo'))
- toContain was renamed to toContainElement
@travisjeffery
Copy link
Collaborator

merged into #154

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants