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

Upgrade: Bump ava from 1.4.1 to 2.4.0 #3022

Merged
merged 4 commits into from Oct 22, 2019

Conversation

@dependabot-preview
Copy link
Contributor

dependabot-preview bot commented Sep 23, 2019

Bumps ava from 1.4.1 to 2.4.0.

Release notes

Sourced from ava's releases.

2.4.0

Experimental t.try() assertions

Thanks to the amazing work and patience of @​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 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:

{
  "ava": {
    "nonSemVerExperiments": {
      "tryAssertion": true
    }
  }
}

ava.config.js:

export default {
	nonSemVerExperiments: {
		tryAssertion: true
	}
};

We'd love to hear your feedback. Please join us in this issue: avajs/ava#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!

Other changes

  • We've added the common pitfall of sharing variables across asynchronous tests 49b202fb5c376e71c1400f6c35043280cf417140
  • We've updated the endpoint testing recipe to focus on the concept, not specific libraries 67e4deac2857503e5fac7d38da2d23014eb29724

All changes

v2.3.0...v2.4.0

Thanks

Thank you @​jeremenichelli, @​jamesgeorge007, @​dongjae93, @​qlonik and @​tryzniak. We couldn't have done this without you!

... (truncated)
Commits
  • 05f077e 2.4.0
  • ca4eff7 Bump dependencies
  • 67e4dea Update endpoint testing recipe to focus on the concept, not libraries
  • 4fdb02d Implement experimental t.try() assertion
  • 782c2d8 Run some tests on Travis still
  • 4c890d9 Add OpenCollective link to README
  • 03c1509 Groundwork to support experimental features
  • 0a5c933 Remove unnecessary flag from tap invocation
  • e598c30 Detect whether error source is on a different drive (on Windows)
  • fb0c536 Fix serialize-error tests on Windows with GitHub Actions
  • 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.

If all status checks pass Dependabot will automatically merge this pull request.


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 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 the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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.

@dependabot-preview

This comment has been minimized.

Copy link
Contributor Author

dependabot-preview bot commented Sep 23, 2019

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ava-2.4.0 branch 3 times, most recently from 6e5112c to f99df5b Sep 23, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ava-2.4.0 branch 5 times, most recently from 2a2b550 to 29f0d32 Oct 7, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ava-2.4.0 branch 4 times, most recently from f0c31a1 to eae1af7 Oct 15, 2019
Bumps [ava](https://github.com/avajs/ava) from 1.4.1 to 2.4.0.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](avajs/ava@v1.4.1...v2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ava-2.4.0 branch from eae1af7 to 1cad64d Oct 17, 2019
@molant

This comment has been minimized.

Copy link
Member

molant commented Oct 21, 2019

@sarvaje the extension-browser complains about:

× No tests found in dist\tests\helpers\globals.js, make sure to import "ava" at the top of your test file

Can you please take a look?

@sarvaje

This comment has been minimized.

Copy link
Member

sarvaje commented Oct 21, 2019

sure!

sarvaje added 2 commits Oct 21, 2019
@molant
molant approved these changes Oct 21, 2019
Copy link
Member

molant left a comment

Ship it 🚀

@molant molant merged commit ce96551 into master Oct 22, 2019
3 checks passed
3 checks passed
licence/cla Contributor License Agreement is signed.
Details
webhintio.hint Build #20191021.13 succeeded
Details
webhintio.hint (Dependabot node_12_x) Dependabot node_12_x succeeded
Details
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/ava-2.4.0 branch Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.