Release notes
*Sourced from [ava's releases](https://github.com/avajs/ava/releases).*
> ## 2.4.0
> ## Experimental `t.try()` assertions
>
> Thanks to the amazing work and patience of [@qlonik](https://github.com/qlonik) we're shipping a new assertion! `t.try()` lets you perform assertions and decide whether to commit or discard their outcome. All kinds of interesting things can be built on top of this, from fuzzy testers to new test interfaces and more.
>
> We're excited to get this out there, but it's not quite done yet. For now you have to [*opt in*](https://github.com/avajs/ava/blob/master/docs/06-configuration.md#experiments) to this new feature. Being opt-in, we may make changes (breaking ones even!) until we feel this is stable.
>
> To opt in, configure AVA with the following:
>
> `package.json`:
>
> ```json
> {
> "ava": {
> "nonSemVerExperiments": {
> "tryAssertion": true
> }
> }
> }
> ```
>
> `ava.config.js`:
>
> ```js
> export default {
> nonSemVerExperiments: {
> tryAssertion: true
> }
> };
> ```
>
> We'd love to hear your feedback. Please join us in this issue: [avajs/ava#2250](https://github-redirect.dependabot.com/avajs/ava/issues/2250)
>
> Also, if you're looking to help out with the remaining issues so that we can ship this *without* the opt-in, have a look at this project: https://github.com/orgs/avajs/projects/1
>
> Thanks again [@qlonik](https://github.com/qlonik)!
>
> ## Other changes
>
> * We've added the [common pitfall](https://github.com/avajs/ava/blob/master/docs/08-common-pitfalls.md) of sharing variables across asynchronous tests 49b202fb5c376e71c1400f6c35043280cf417140
> * We've updated the [endpoint testing recipe](https://github.com/avajs/ava/blob/master/docs/recipes/endpoint-testing.md) to focus on the concept, not specific libraries 67e4deac2857503e5fac7d38da2d23014eb29724
>
> ## All changes
>
> [`v2.3.0...v2.4.0`](https://github.com/avajs/ava/compare/v2.3.0...v2.4.0)
>
> ## Thanks
>
> Thank you [@jeremenichelli](https://github.com/jeremenichelli), [@jamesgeorge007](https://github.com/jamesgeorge007), [@dongjae93](https://github.com/dongjae93), [@qlonik](https://github.com/qlonik) and [@tryzniak](https://github.com/tryzniak). We couldn't have done this without you!
>
> ... (truncated)
Commits
- [`05f077e`](https://github.com/avajs/ava/commit/05f077e805bd1b3d58aa1e539d7e1e6a3f5c7042) 2.4.0
- [`ca4eff7`](https://github.com/avajs/ava/commit/ca4eff74ae715ced49310ce7b40514df9a28eec2) Bump dependencies
- [`67e4dea`](https://github.com/avajs/ava/commit/67e4deac2857503e5fac7d38da2d23014eb29724) Update endpoint testing recipe to focus on the concept, not libraries
- [`4fdb02d`](https://github.com/avajs/ava/commit/4fdb02dd66b56f0204e09a7970416d5075f49a3f) Implement experimental t.try() assertion
- [`782c2d8`](https://github.com/avajs/ava/commit/782c2d874e466de26b797b1e0972a552a8894eda) Run some tests on Travis still
- [`4c890d9`](https://github.com/avajs/ava/commit/4c890d9ae260b03d3240db7fed5367d238b6ca8f) Add OpenCollective link to README
- [`03c1509`](https://github.com/avajs/ava/commit/03c15093772b413ac343cb1c3940338b6dfc4b20) Groundwork to support experimental features
- [`0a5c933`](https://github.com/avajs/ava/commit/0a5c933b36092ab0f527649cfb83bd97c2bfb2b8) Remove unnecessary flag from tap invocation
- [`e598c30`](https://github.com/avajs/ava/commit/e598c30cd19ea27dccaf2d90c8d5a13a59653a57) Detect whether error source is on a different drive (on Windows)
- [`fb0c536`](https://github.com/avajs/ava/commit/fb0c536052ade674c58f74c3f54ec6e312ee6478) Fix serialize-error tests on Windows with GitHub Actions
- Additional commits viewable in [compare view](https://github.com/avajs/ava/compare/v0.25.0...v2.4.0)
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.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps ava from 0.25.0 to 2.4.0.
Release notes
*Sourced from [ava's releases](https://github.com/avajs/ava/releases).* > ## 2.4.0 > ## Experimental `t.try()` assertions > > Thanks to the amazing work and patience of [@qlonik](https://github.com/qlonik) we're shipping a new assertion! `t.try()` lets you perform assertions and decide whether to commit or discard their outcome. All kinds of interesting things can be built on top of this, from fuzzy testers to new test interfaces and more. > > We're excited to get this out there, but it's not quite done yet. For now you have to [*opt in*](https://github.com/avajs/ava/blob/master/docs/06-configuration.md#experiments) to this new feature. Being opt-in, we may make changes (breaking ones even!) until we feel this is stable. > > To opt in, configure AVA with the following: > > `package.json`: > > ```json > { > "ava": { > "nonSemVerExperiments": { > "tryAssertion": true > } > } > } > ``` > > `ava.config.js`: > > ```js > export default { > nonSemVerExperiments: { > tryAssertion: true > } > }; > ``` > > We'd love to hear your feedback. Please join us in this issue: [avajs/ava#2250](https://github-redirect.dependabot.com/avajs/ava/issues/2250) > > Also, if you're looking to help out with the remaining issues so that we can ship this *without* the opt-in, have a look at this project: https://github.com/orgs/avajs/projects/1 > > Thanks again [@qlonik](https://github.com/qlonik)! > > ## Other changes > > * We've added the [common pitfall](https://github.com/avajs/ava/blob/master/docs/08-common-pitfalls.md) of sharing variables across asynchronous tests 49b202fb5c376e71c1400f6c35043280cf417140 > * We've updated the [endpoint testing recipe](https://github.com/avajs/ava/blob/master/docs/recipes/endpoint-testing.md) to focus on the concept, not specific libraries 67e4deac2857503e5fac7d38da2d23014eb29724 > > ## All changes > > [`v2.3.0...v2.4.0`](https://github.com/avajs/ava/compare/v2.3.0...v2.4.0) > > ## Thanks > > Thank you [@jeremenichelli](https://github.com/jeremenichelli), [@jamesgeorge007](https://github.com/jamesgeorge007), [@dongjae93](https://github.com/dongjae93), [@qlonik](https://github.com/qlonik) and [@tryzniak](https://github.com/tryzniak). We couldn't have done this without you! > > ... (truncated)Commits
- [`05f077e`](https://github.com/avajs/ava/commit/05f077e805bd1b3d58aa1e539d7e1e6a3f5c7042) 2.4.0 - [`ca4eff7`](https://github.com/avajs/ava/commit/ca4eff74ae715ced49310ce7b40514df9a28eec2) Bump dependencies - [`67e4dea`](https://github.com/avajs/ava/commit/67e4deac2857503e5fac7d38da2d23014eb29724) Update endpoint testing recipe to focus on the concept, not libraries - [`4fdb02d`](https://github.com/avajs/ava/commit/4fdb02dd66b56f0204e09a7970416d5075f49a3f) Implement experimental t.try() assertion - [`782c2d8`](https://github.com/avajs/ava/commit/782c2d874e466de26b797b1e0972a552a8894eda) Run some tests on Travis still - [`4c890d9`](https://github.com/avajs/ava/commit/4c890d9ae260b03d3240db7fed5367d238b6ca8f) Add OpenCollective link to README - [`03c1509`](https://github.com/avajs/ava/commit/03c15093772b413ac343cb1c3940338b6dfc4b20) Groundwork to support experimental features - [`0a5c933`](https://github.com/avajs/ava/commit/0a5c933b36092ab0f527649cfb83bd97c2bfb2b8) Remove unnecessary flag from tap invocation - [`e598c30`](https://github.com/avajs/ava/commit/e598c30cd19ea27dccaf2d90c8d5a13a59653a57) Detect whether error source is on a different drive (on Windows) - [`fb0c536`](https://github.com/avajs/ava/commit/fb0c536052ade674c58f74c3f54ec6e312ee6478) Fix serialize-error tests on Windows with GitHub Actions - Additional commits viewable in [compare view](https://github.com/avajs/ava/compare/v0.25.0...v2.4.0)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
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.