Not many changes have got in since the last release but this one contains a very important change (#1257) which will allow jest users to get better diffs. From this release onwards, jest users will be able to see which operator was used in their diffs. The operator is a property of the AssertionError thrown when assertions fail. This flag indicates what kind of comparison was made.
This is also an important change for plugin maintainers. Plugin maintainers will now have access to the operatorflag, which they can have access to through an utilmethod calledgetOperator`.
Thanks to all the amazing people that contributed to this release.
New Features
Allow contain.oneOf to take an array of possible values (@voliva)
This version was pushed to npm by chai, a new releaser for chai since your current version.
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 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)
Coverage remained the same at 100.0% when pulling 466f3a50d8c704a4cb2bdd464b5fe033b4aaac12 on dependabot/npm_and_yarn/chai-4.3.0 into e889c189a328ed2ed81a86d8504d350c8d951eee on master.
Bumps chai from 4.2.0 to 4.3.0.
Release notes
Sourced from chai's releases.
Commits
8ae00a0
chai@4.3.003913cb
Merge pull request #1242 from voliva/contains-oneOf9d2f6dc
docs(oneOf): Add contains flag to oneOf documentation7eaf684
feat(oneOf): expect(value).to.contain.oneOf([])8dc92d8
Adding operator attribute to assertion error (#1257)1958341
chore(package): update lockfile package-lock.json7bb36a4
chore(package): update mocha to version 6.1.442509fa
test: make sure that useProxy config is checked in overwriteProperty18d8494
chore: add node v10 and v12 to ci6740969
chore: drop support for node v4, v6 and v9Maintainer changes
This version was pushed to npm by chai, a new releaser for chai since your current version.
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 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)