Skip to content

Comments

fix: bump sinon version#2522

Merged
WilliamBergamin merged 1 commit intomainfrom
upgrade-sinon-dev-dep
May 9, 2025
Merged

fix: bump sinon version#2522
WilliamBergamin merged 1 commit intomainfrom
upgrade-sinon-dev-dep

Conversation

@WilliamBergamin
Copy link
Contributor

Summary

This PR aims to bump the version of sinon and type/sinon

Originally thought the tests could take advantage of sinon.promise but its not needed finally 🤔 regardless the work is done so might as well merge it

Requirements (place an x in each [ ])

@WilliamBergamin WilliamBergamin self-assigned this May 9, 2025
@WilliamBergamin WilliamBergamin added the tests M-T: Testing work only label May 9, 2025
@codecov
Copy link

codecov bot commented May 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.24%. Comparing base (b0c9443) to head (6928c51).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2522   +/-   ##
=======================================
  Coverage   93.24%   93.24%           
=======================================
  Files          36       36           
  Lines        7443     7443           
  Branches      652      652           
=======================================
  Hits         6940     6940           
  Misses        498      498           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@mwbrooks mwbrooks left a comment

Choose a reason for hiding this comment

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

✅ Looking good! Thanks for putting in the work to migrate us to the latest sinon! 🧪


assert.deepEqual(actualReturn, dummyReturn);
assert.deepEqual(dummyParams, fakeReceiver.stop.firstCall.args);
assert.deepEqual(fakeReceiver.stop.firstCall.args, dummyParams as unknown);
Copy link
Member

Choose a reason for hiding this comment

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

👌🏻 Good catch

@WilliamBergamin WilliamBergamin merged commit eebf16f into main May 9, 2025
18 checks passed
@WilliamBergamin WilliamBergamin deleted the upgrade-sinon-dev-dep branch May 9, 2025 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests M-T: Testing work only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants