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

More chai/sinon patches (take 2) #322

Merged
merged 3 commits into from
Jul 5, 2022
Merged

More chai/sinon patches (take 2) #322

merged 3 commits into from
Jul 5, 2022

Conversation

danbeam
Copy link
Contributor

@danbeam danbeam commented Jul 5, 2022

danbeam and others added 3 commits July 5, 2022 12:12
* check for spread call expressions with context identifier
* change sinon .mockImplementation to support any[]
* support .contains with jsx element
* support .toContain for .text()
* handle .toHavePropery('callCount', n)
@codecov
Copy link

codecov bot commented Jul 5, 2022

Codecov Report

Merging #322 (ddc2c66) into main (fbb9bde) will decrease coverage by 0.13%.
The diff coverage is 84.00%.

@@            Coverage Diff             @@
##             main     #322      +/-   ##
==========================================
- Coverage   92.22%   92.09%   -0.14%     
==========================================
  Files          26       26              
  Lines        1852     1872      +20     
  Branches      385      392       +7     
==========================================
+ Hits         1708     1724      +16     
  Misses        102      102              
- Partials       42       46       +4     
Impacted Files Coverage Δ
src/utils/consts.ts 100.00% <ø> (ø)
src/transformers/chai-should.ts 94.78% <75.00%> (-0.80%) ⬇️
src/transformers/sinon.ts 87.50% <92.30%> (+0.18%) ⬆️

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 fbb9bde...ddc2c66. Read the comment docs.

Copy link
Owner

@skovhus skovhus left a comment

Choose a reason for hiding this comment

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

Great stuff! Thanks 👏

@skovhus skovhus merged commit e3d6b9b into skovhus:main Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants