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 version 0.14.0 🚀 #9

Merged
merged 1 commit into from
Apr 7, 2016
Merged

Conversation

greenkeeperio-bot
Copy link
Contributor

Hello 👋

🚀🚀🚀

ava just published its new version 0.14.0, which is not covered by your current version range.

If this pull request passes your tests you can publish your software with the latest version of ava – otherwise use this branch to work on adaptions and fixes.

Happy fixing and merging 🌴


GitHub Release

The biggest change in this release is the deprecation of t.ok, t.notOk, and t.same assertions. We have published a codemod which should make switching to the new API very easy.

Also, we've added a --timeout flag that will stop test execution after a certain period of inactivity.

Highlights

  • A number of assertion methods have been renamed. The old methods still exist, but have been deprecated, and will be removed in a future release (e9c6cc2, a7f50eb). We have published ava-codemods to assist in renaming these assertions in your tests.

    • t.ok() => t.truthy()
    • t.notOk() => t.falsy()
    • t.same() => t.deepEqual()
  • Added an idle timeout to prevent test runs from hanging indefinitely. The test run is considered timed out when no test results have been received for the specified interval. d1a3669

  • Published a recipe on various ways to configure Babel. bcda753
  • Multiple documentation improvements and updates.
  • Updated Russian, Chinese, and Spanish translations. Big thanks to our translation team!

Of Note

  • Watch mode will now rerun all .only tests, regardless of dependency graph e57908a
  • Print the planned and actual assertion count when there is a plan failure. 07febb2
  • t.deepEqual() (formerly t.same()) no longer compares constructors. a7826cf
  • Truncate test titles in the mini reporter. 6d5f322
  • Workaround for Node bug which could kill main process. cd6961a
  • Mini reporter longer flashes test titles for skip/todo tests. ecc87cb
  • Display a helpful error message for invalid babel configs. febbaa2
  • bugfix: t.throws() does not return error for synchronous methods. 26d2291
  • Switch from serialize-error to clean-yaml-object (better compatibility with node-tap). cd5767e
  • Rewrite require("babel-runtime") in tests to absolute path (allows module resolution for npm@2 without modifying NODE_PATHS). 382e50d
  • use .js.map extensions for cached source maps. 934d57f
  • bugfix: Ensure source map can be resolved from cached code. 592ff13
  • Throws a meaningful error if --require dependency is not found. c78e736
  • Produces a helpful failure method when users incorrectly provide an implementation method to test.todo() . 8d6490a

Complete Changelog

v0.13.0...v0.14.0


The new version differs by 71 commits .

  • 1e0b1c1 0.14.0
  • e57908a watch mode always runs all exclusive tests
  • 08ce255 Replace "callback" with "implementation" when talking about tests
  • 21bdcc5 Add test-like output when test file does not exist
  • 61848ee watcher: fix recursive test file matcher
  • 37c67b9 Docs: Link to French translation for babelrc recipe
  • a7f50eb renamet.ok()tot.truthy()andt.notOk()tot.falsy()``
  • bcda753 Add a recipe for properly configuring babel when using.babelrc.
  • 9288d78 add tests that demonstrate various ways to use babel config.
  • 8465934 Bump convert-source-map dependency, clean up duplicate require call
  • 5b3c27a don't modify configured babel plugins array
  • c4ec8e7 Clean up caching-precompiler
  • e9c6cc2 renamet.same()tot.deepEqual()``
  • e3e1752 Merge pull request #654 from sindresorhus/timeout
  • 8d6490a Maketest.todo(title, fn)produce a failure

There are 71 commits in total. See the full diff.


This pull request was created by greenkeeper.io.
It keeps your software, up to date, all the time.

Tired of seeing this sponsor message? Upgrade to the supporter plan! You'll also get your pull requests faster ⚡

@tusharmath tusharmath merged commit 893f9ee into master Apr 7, 2016
@tusharmath tusharmath deleted the greenkeeper-ava-0.14.0 branch April 7, 2016 08:09
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

2 participants