-
Notifications
You must be signed in to change notification settings - Fork 3
Update ava to the latest version 🚀 #15
base: master
Are you sure you want to change the base?
Conversation
Update to this version instead 🚀 Release Notes for 1.2.0New featuresYou can now set a timeout for test themselves. The test will fail if this timeout is exceeded. The timeout is reset each time an assertion is made: test('foo', t => { t.timeout(100); // 100 milliseconds // Write your assertions here }); AVA also has a global timeout feature. The mini reporter now logs tests that were pending when those timeouts occur. Additionally, if you interrupt a test using ctrl+c we'll now also show the pending tests. 2b60556 Thank you @dflupu for your hard work on this! Bug fixes and other improvements
All changes 📚Thanks 💌💖 Huge thanks to @anishkny, @CrispusDH, @dflupu and @niktekusho for helping us with this release. We couldn’t have done it 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. CommitsThe new version differs by 11 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for 1.2.1This is a bug fix release. In very large projects, the options send to worker processes would exceed limits on process argument size. We're now sending the options via the inter-process communication channel. 3078892 All changes 📚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. |
Update to this version instead 🚀 Release Notes for 1.3.0Bug fixes
New featuresYou can now use All changesThanksThank you @itaisteinherz, @jdalton, @kagawagao, @KompKK, @SleeplessByte, @Chrisyee22 and @qlonik for helping us with this release. We couldn't have done this without you! Get involvedWe 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. CommitsThe new version differs by 12 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for 1.3.1Bug fixes
New featuresYou can now use All changesThanksThank you @itaisteinherz, @jdalton, @kagawagao, @KompKK, @SleeplessByte, @Chrisyee22 and @qlonik for helping us with this release. We couldn't have done this without you! Get involvedWe 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. |
Update to this version instead 🚀 Release Notes for 1.4.0Focusing
|
Update to this version instead 🚀 Release Notes for 1.4.1Focusing
|
Update to this version instead 🚀 Release Notes for 2.0.0Breaking changesAVA now requires at least Node.js 8.9.4Per the Node.js release schedule, the 6.x releases reach end of live on April 30th. Consequently we've removed support in AVA. We are now testing with Node.js 12 though. 3a4afc6 Test file and helper selectionWe've been working on simplifying how test files and helpers are selected. First off, the The AVA used to treat all files inside a { "ava": { "helpers": [ "**/helpers/**/*" ] } } Test files starting with an underscore are still recognized as helpers. Files inside AVA now also selects files ending with The CLI now only takes file paths, not glob patterns. We'd like some help updating our ESLint plugin as well. Snapshots in CIWhen you run tests locally and add a new snapshot, AVA automatically updates the With this release, AVA will fail the Assertion messages must be stringsAVA now enforces assertion messages to be strings. The message is only used when the assertion fails, and non-string values may cause AVA to crash. You may see test failures if you were accidentally passing a non-string message. 49120aa Flow type definitionsWe've decided to remove the Flow type definitions from AVA itself. We don't have anybody to maintain them and consequently they've become a blocker when adding features to AVA. c633cf0 We've set up a new repository from which we'll publish the definitions, but we need your help setting it up. If you use AVA and Flow, please join us in avajs/flow-typed#1. Observable typingTest implementations may return observables. We've updated our TypeScript definition to require these to have a New featuresConfigurable printing depthAVA now uses the Specify environment variables in your AVA configYou can now specify environment variables in your config, using the Other changes
All changesThanksThank you @StoneCypher, @LukasHechenberger, @lo1tuma, @htor, @alexisfontaine and @grnch. We couldn't have done this without you! Get involvedWe 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. CommitsThe new version differs by 36 commits.
There are 36 commits in total. See the full diff |
|
|
|
The devDependency ava was updated from
0.21.0
to1.1.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.
Release Notes for 1.1.0
1.1.0
New features
AVA now exports a
meta
object. Currently, you can retrieve the path of the test file being run:This is useful in helpers that need to know the test file. bccd297
Bug fixes and other improvements
t.log()
now works in hooks d187712Error output for improper usage of
t.throws()
once again links to the correct documentation dc552bcWe've added a section on webpack aliases to the Babel recipe c3bcbf2
We've updated the Vue recipe for Babel 7, and added a section on webpack aliases c3bcbf2
All changes 📚
v1.0.1...v1.1.0
Thanks 💌
💖 Huge thanks to @fitztrev, @forresst, @astrob0t, @pearofducks, @coreyfarrell and @dflupu for helping us with this release. We couldn’t have done it 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 294 commits.
a28094a
1.1.0
7262a78
Bump dependencies
d187712
Fix t.log() in hooks
bccd297
Expose test file path within worker process
c3bcbf2
Improve Babel and Vue recipes
dc552bc
Update link to
t.throws()
assertion in AVA outputf4b2d19
Fix links to French translation of docs (#2005)
2e72fe7
Fix npm install command in readme (#2001)
7b6e578
Use newer ES syntax where possible
783944f
1.0.1
024bab7
1.0.0
aac41dc
Reword introduction
84d8fff
Bump dependencies & update documentation
c1364a1
Update the tagline and readme intro (#1983)
eed2e7a
Clarify that not all configuration options can be overridden by CLI flags
There are 250 commits in total.
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 🌴