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

Expose this.equals to custom matchers. #3469

Merged
merged 1 commit into from
May 4, 2017
Merged

Conversation

cpojer
Copy link
Member

@cpojer cpojer commented May 4, 2017

Summary

This was previously exposed through jasmine.matcherUtils.equals. It's now part of the custom matcher API so that it can be used in libraries like Relay.

Test plan

See added test.

@codecov-io
Copy link

Codecov Report

Merging #3469 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #3469      +/-   ##
=========================================
+ Coverage    64.1%   64.1%   +<.01%     
=========================================
  Files         179     179              
  Lines        6647    6648       +1     
  Branches        5       5              
=========================================
+ Hits         4261    4262       +1     
  Misses       2384    2384              
  Partials        2       2
Impacted Files Coverage Δ
packages/jest-matchers/src/index.js 95.45% <100%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ccd640...aadd3a3. Read the comment docs.

@cpojer cpojer merged commit 1c536f6 into jestjs:master May 4, 2017
tushardhole pushed a commit to tushardhole/jest that referenced this pull request Aug 21, 2017
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2021
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.

4 participants