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

Update ava to the latest version ๐Ÿš€ #37

Closed
wants to merge 1 commit into from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Oct 24, 2017

Version 0.23.0 of ava was just published.

Dependency ava
Current Version 0.22.0
Type devDependency

The version 0.23.0 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.

It might be worth looking into these changes and trying to get this project onto the latest version of ava.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donโ€™t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes 0.23.0

Highlights ๐Ÿ•ด

NODE_ENV=test โœจ

AVA will now set process.env.NODE_ENV to 'test', as long as the NODE_ENV environment variable has not already been set. 42e7c74

Improved snapshot storage location ๐Ÿ—ƒ

Snapshots are stored alongside your test files. This is great when your test file is executed directly but say if you're using TypeScript to precompile your test file AVA would store the snapshots in your build directory. In this release, if source maps are available, AVA determines the original test file location and uses that to store the snapshots.

You can also specify where snapshots are stored through the snapshotLocation option in the package.json file. 7fadc34

Matching anonymous tests ๐Ÿ•ต๏ธ

--match='*' now matches all tests, including those without a title. 1df502d

Miscellaneous ๐ŸŽ’

  • The verbose logger now only displays the timestamp when in watch mode 1ea758f
  • Anonymous functions are now included in stack traces c72f4f2
  • Concurrency is now capped at 2 in CI environments 3f81fc4
  • AVA no longer calls Bluebird.longStackTraces(). If you're using Bluebird you may want to call this yourself using a require script. ebf78b3 61101d9
  • There's a new recipe for endpoint testing using Mongoose c9fe8db
  • The browser testing recipe has been updated with an example of exposing global variables, such as jQuery f43d5ae
  • t.log() is now supported in the Flow and TypeScript type definitions 64b7755
  • t.title is now supported in the TypeScript type definitions 3c8b1be
  • t.snapshot() now has a better Flow type definition ded7ab8

All changes ๐Ÿ›‹

v0.22.0...v0.23.0

Thanks ๐Ÿ’Œ

๐Ÿ’– Huge thanks to @anshulwadhawan, @mliou8, @dehbmarques, @forivall, @forresst, @Couto, @impaler, @kristianmandrup, @lukechilds, @neoeno, @jugglinmike, @P-Seebauer, @philippotto, @ptim, @rhendric, @ntwb, @tdeschryver, @timothyjellison and @zellwk 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 30 commits.

  • 3b81e2c 0.23.0
  • 3f81fc4 Limit concurrency to 2 in a CI environment
  • 1cb9d4f Adjust NODE_PATH test to fix linting issue
  • 1ea758f Only display timestamp in verbose logger if watch mode is active (#1557)
  • c72f4f2 Include anonymous functions in stacktraces (#1508)
  • eebf26e Add Awesome mentioned badge
  • f43d5ae Recipe instructions for making jQuery available in browser (#1543)
  • 68ce4b8 Update tsconfig.json docs link in the TS recipe
  • 837b0dd Fix TypeScript recipe typo (#1549)
  • 2349316 Update package-lock with changes in #1407
  • bb91862 Version warning when local version is behind (#1407)
  • 42e7c74 Set NODE_ENV to to 'test' if not already set (#1523)
  • 64b7755 Add t.log() for Flow and TypeScript (#1538)
  • 8955e15 Lint test fixtures
  • fa4f73c Update to npm@5.4.2

There are 30 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 ๐ŸŒด

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling d13550e on greenkeeper/ava-0.23.0 into a0682bc on master.

greenkeeper bot added a commit that referenced this pull request Nov 27, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 27, 2017

Version 0.24.0 just got published.

Update to this version instead ๐Ÿš€

Release Notes 0.24.0

Highlights ๐Ÿ’ก

This is a pretty small release, but a great one if you're solely developing for Node.js 8.3 or above.

You can now use object rest/spread properties in test files without any further Babel configuration. Note that if you're running tests on older versions of Node.js you'll still need to add the relevant Babel plugins, since this new language feature has not yet reached stage 4. 37c9122

Miscellaneous ๐Ÿ•ฏ

  • Before and after hooks are no longer run when all tests are skipped 1cd3a04
  • Improved output of assertion statements when tests fail 37e8b49
  • Improved feedback when t.is() values are deeply equal but not the same c41b2af
  • Updated the Typescript with an example of how to title macros f98a881

All changes ๐Ÿ“š

v0.23.0...v0.24.0

Thanks ๐Ÿ’Œ

๐Ÿ’– Huge thanks to @jedmao, @Lifeuser, @mightyiam, @ahmadawais and @codeslikejaggars 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 12 commits.

  • e401bd1 0.24.0
  • 8141395 Churn and dedupe package-lock
  • f2979a3 Bump dependencies
  • efc3b31 Code style tweaks
  • cb1c3f7 Fix documentation of snapshotDir option
  • c41b2af Provide feedback when t.is() values are deeply equal but not the same
  • 1cd3a04 Don't run before and after hooks when all tests are skipped
  • f98a881 Document how to title macros when using TypeScript
  • b3c4090 Fix broken link in contributing guide
  • 37c9122 Include syntax-object-rest-spread in default Babel options for Node.js >= 8.3.0
  • 035fd31 Verify package-lock when linting
  • 37e8b49 Use babel-generator to regenerate enhanced assertion statements

See the full diff

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

greenkeeper bot commented Jan 26, 2018

Version 0.25.0 just got published.

Update to this version instead ๐Ÿš€

Commits

The new version differs by 15 commits.

  • a051d3e 0.25.0
  • 4f896c2 Make t.log() behave more like console.log()
  • f00f3c4 Don't set Error.stackTraceLimit in worker processes
  • c2b42ec Mention #1319 as a pitfall
  • bcb77fc Recommend skipFiles for VSCode debugging
  • cd8c91b Add more clarification for different Babel config in .babelrc.md (#1642)
  • 947f207 Update code-excerpt to ^2.1.1
  • 4a13966 Debug serially in the "Debugging tests with VS Code" recipe (#1634)
  • aaddc37 Use absolute source map paths in precompiled files
  • 72c53be support @std/esm (#1618)
  • 29e5dfd Add TS types for t.snapshot(content, options)
  • c1faf95 Fix typo in precompiling-with-webpack.md (#1625)
  • 4e8f827 Switch time-require to @ladjs/time-require
  • 965cbc6 Use supertap to generate TAP output (#1610)
  • 4124d77 Update npm, test Node.js 9, detect package-lock churn in CI (#1601)

See the full diff

@greenkeeper greenkeeper bot closed this Apr 25, 2018
@greenkeeper greenkeeper bot deleted the greenkeeper/ava-0.23.0 branch April 25, 2018 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant