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

Update dependency strong-mock to v9 (renovate-deps) - autoclosed #4

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 8, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
strong-mock ~8.0.1 -> ~9.0.0 age adoption passing confidence

Release Notes

NiGhTTraX/strong-mock (strong-mock)

v9.0.0

Compare Source

This version greatly improves error messages and improves the matcher API. Check the migration guide.

const fn = mock<(x: number, y: number, z: { foo: string }) => number>();
when(() => fn(1, 2, { foo: 'bar' })).thenReturn(42);

fn(1, 2, { foo: 'baz' });
Before After
before after
⚠ BREAKING CHANGES
  • isObject has been replaced by isPlainObject and containsObject
  • Merge isString's optional containing and matching args
  • Rename the toJSON matcher method to toString
  • Don't allow empty partials in containsObject
Features
  • Attach actual/expected args to error instance to enable IDE diffs (7a04a43)
  • Improve isArray diff (a5aaddd)
  • Improve isNumber diff (55647ed)
  • Improve isObject diff (5533bcf)
  • Improve isString diff (5c73fbb)
  • Improve willCapture diff (7d92ce9)
  • Improve colors in UnexpectedCall error message (f326954)
  • Pretty print argument diffs in UnexpectedCall error messages (ba4f6b5)
Bug Fixes
  • Fix isPartial allowing unexpected keys (cc0b881)
  • Fix isPartial not working with interfaces (169b336)
  • isObject now correctly fails for null and undefined (9b50fe4)
  • Fix It docstrings (df7f91a)
  • Handle non string keys in isObject (87cb768)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Aug 8, 2024

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot force-pushed the renovate/strong-mock-9.x branch from 1b7fef0 to a626399 Compare August 14, 2024 07:59
@renovate renovate bot changed the title Update dependency strong-mock to v9 Update dependency strong-mock to v9 (main) Aug 14, 2024
@renovate renovate bot changed the base branch from renovate-deps to main August 14, 2024 07:59
@renovate renovate bot force-pushed the renovate/strong-mock-9.x branch from a626399 to 11ef28d Compare August 14, 2024 08:00
@renovate renovate bot changed the title Update dependency strong-mock to v9 (main) Update dependency strong-mock to v9 (renovate-deps) Aug 14, 2024
@renovate renovate bot changed the base branch from main to renovate-deps August 14, 2024 08:00
@renovate renovate bot changed the title Update dependency strong-mock to v9 (renovate-deps) Update dependency strong-mock to v9 (renovate-deps) - autoclosed Aug 14, 2024
@renovate renovate bot closed this Aug 14, 2024
@renovate renovate bot deleted the renovate/strong-mock-9.x branch August 14, 2024 08:00
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.

0 participants