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.
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
Hello :wave:
:rocket::rocket::rocket:
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 :palm_tree:
GitHub Release
The biggest change in this release is the deprecation of
t.ok
,t.notOk
, andt.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
Of Note
.only
tests, regardless of dependency graph e57908at.deepEqual()
(formerlyt.same()
) no longer compares constructors. a7826cfskip
/todo
tests. ecc87cbt.throws()
does not return error for synchronous methods. 26d2291serialize-error
toclean-yaml-object
(better compatibility withnode-tap
). cd5767erequire("babel-runtime")
in tests to absolute path (allows module resolution fornpm@2
without modifyingNODE_PATHS
). 382e50d.js.map
extensions for cached source maps. 934d57f--require
dependency is not found. c78e736test.todo()
. 8d6490aComplete 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
rename
t.ok()to
t.truthy()and
t.notOk()to
t.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
rename
t.same()to
t.deepEqual()``e3e1752
Merge pull request #654 from sindresorhus/timeout
8d6490a
Make
test.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 :zap: