Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Bump @nomicfoundation/hardhat-chai-matchers from 2.0.1 to 2.0.2 #53

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 11, 2023

Bumps @nomicfoundation/hardhat-chai-matchers from 2.0.1 to 2.0.2.

Release notes

Sourced from @​nomicfoundation/hardhat-chai-matchers's releases.

@​nomicfoundation/hardhat-chai-matchers@​2.0.2

This release forbids our async matchers from being chained. This means that you can't do something like:

await expect(contract.f())
  .to.changeEtherBalance(...)
  .and.to.changeTokenBalance(...)

This never worked properly, leading to potential false positives in tests. Now this pattern will throw an error to make it clear that it's not supported.

If some of your tests start throwing because of this, the way to do the same thing without chaining is:

const tx = contract.f();
await expect(tx).to.changeEtherBalance(...);
await expect(tx).to.changeTokenBalance(...);

Commits
  • df0bc61 Version Packages
  • d559a63 Merge pull request #4277 from NomicFoundation/add-autoassign-workflow
  • 3c7545f Merge pull request #4268 from NomicFoundation/hardhat-foundry-remappings
  • 998cac6 Add autoassign workflow
  • 7197a6c Merge pull request #4259 from NomicFoundation/pretest-build
  • 3899692 Merge pull request #4240 from JFrankfurt/add-nvmrc
  • 3bdc9d6 Create tasty-monkeys-talk.md
  • 67f4218 Merge pull request #4265 from NomicFoundation/bug/fix-code-quote-in-md-file
  • 34a71d4 Delete little-pianos-suffer.md
  • c437795 Create changeset little-pianos-suffer.md
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@nomicfoundation/hardhat-chai-matchers](https://github.com/nomicfoundation/hardhat) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/nomicfoundation/hardhat/releases)
- [Commits](https://github.com/nomicfoundation/hardhat/compare/@nomicfoundation/[email protected]...@nomicfoundation/[email protected])

---
updated-dependencies:
- dependency-name: "@nomicfoundation/hardhat-chai-matchers"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 11, 2023
@islishude
Copy link
Owner

@dependabot close

@dependabot dependabot bot closed this Sep 12, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/nomicfoundation/hardhat-chai-matchers-2.0.2 branch September 12, 2023 03:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant