Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

Update ava to the latest version 🚀 #52

Closed
wants to merge 2 commits into from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Aug 18, 2019

The devDependency ava was updated from 2.2.0 to 2.3.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Publisher: novemberborn
License: MIT

Release Notes for 2.3.0

Changes

  • We've fixed some bugs to improve watch mode. ffa62ce 9e8d28f
  • AVA now prints an error when it receives non-existent test files on the command line. f01d05f
  • When using the TAP reporter, remaining tests are now included in failed test count. Failed hooks are no longer treated as test failures, and logs are printed. 8628976
  • Internal errors that may occur for some edge cases are now printed. b27cb8d
  • TTY in the worker processes should follow the new APIs in Node.js 12.7.0 (when used with those Node.js versions). 7dcb473
  • AVA now handles stage-4 syntax like dynamic import, and stage-3 syntax like BigInt, numeric separators and class properties that are supported by V8. 9baca8c
  • AVA now supports dynamic import through our stage-4 preset.
  • AVA now uses import-local@^3.0.2 which fixes issues with Lerna projects.
  • For our TypeScript users, we've changed the default type of t.context to unknown, in line with TypeScript's changes in their 3.5 release. 2fc7d56

All changes

v2.2.0...v2.3.0

Thanks

Thank you @MarchWorks, @yovasx2 and @bobthekingofegypt. We couldn't have done this without you!

Get involved

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

Commits

The new version differs by 10 commits.

  • 1c81c4b 2.3.0
  • 9e8d28f Watcher: Only track test files has having exclusive tests if at least one test was selected
  • 7dcb473 Update fake-tty for changes in Node.js 12.7.0
  • 9baca8c Enable V8 supported stage-3 syntax, as well as stage-4 syntax
  • 7fb0546 Bump dependencies
  • ffa62ce Consistent paths in watcher
  • b27cb8d Print internal errors when precompiler setup or globbing fails
  • 8628976 Print hooks and remaining tests as TAP comments
  • f01d05f Ensure CLI receives file paths
  • 2fc7d56 Change default Context type to unknown

See the full diff


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

Copy link

@codelingo codelingo bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

greenkeeper bot added a commit that referenced this pull request Sep 16, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Sep 16, 2019

  • The devDependency ava was updated from 2.2.0 to 2.4.0.

Update to this version instead 🚀

Release Notes for 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: #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

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!

Get involved

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

Commits

The new version differs by 14 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
  • 53d7fe1 Allow some fixtures to pass linting when XO is installed without lockfile
  • 11771ba Run CI using GitHub Actions
  • 5538bdc Replace an indexOf() by includes()
  • 49b202f Add shared variables & asynchronous tests to common pitfalls

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 19, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jan 19, 2020

  • The devDependency ava was updated from 2.2.0 to 3.0.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jan 26, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jan 26, 2020

  • The devDependency ava was updated from 2.2.0 to 3.1.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 2, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Feb 2, 2020

  • The devDependency ava was updated from 2.2.0 to 3.2.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 9, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Feb 9, 2020

  • The devDependency ava was updated from 2.2.0 to 3.3.0.

Update to this version instead 🚀

@greenkeeper greenkeeper bot closed this Feb 9, 2020
@greenkeeper greenkeeper bot deleted the greenkeeper/ava-2.3.0 branch February 9, 2020 17:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants