Ran
|
Files
1
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci-com
Merge #84 84: build(deps-dev): bump ava from 3.10.0 to 3.10.1 r=jniles a=dependabot-preview[bot] Bumps [ava](https://github.com/avajs/ava) from 3.10.0 to 3.10.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/avajs/ava/releases">ava's releases</a>.</em></p> <blockquote> <h2>3.10.1</h2> <h1>It's time for another AVA release 🎉</h1> <h2>Restricting when you can update snapshots</h2> <p>When executing a subset of tests, through <code>--match</code> or or <code>.only()</code> or <code>.skip()</code>, you can no longer <em>also</em> update snapshots. This prevents you from accidentally deleting snapshots. Thank you <a href="https://github.com/bunysae">@bunysae</a> for putting this together. f72fab401</p> <p>If you are skipping a test that you can't immediately fix, but you still need to update snapshots, use <code>.failing()</code> instead.</p> <h2>Support for message strings in <code>t.timeout()</code> calls</h2> <p>Thanks to <a href="https://github.com/jonathansamines">@jonathansamines</a> you can now provide a message string when using <code>t.timeout()</code>. This can be useful if your test depends on some other setup that may not have been completed: ca8ea4558</p> <pre lang="js"><code>test('foo', t => { t.timeout(100, 'make sure database has started'); // Write your assertions here }); </code></pre> <h2><code>t.try()</code> does not work in hooks</h2> <p><code>t.try()</code> has never worked in hooks, but thanks to <a href="https://github.com/okyantoro">@okyantoro</a> it now fails properly instead of crashing. d01db61ee</p> <h2><code>t.snapshot()</code> does not really work in hooks either</h2> <p><code>t.snapshot()</code> sort of works in hooks, but we'll be removing this in AVA 4. You can opt in to this behavior by enabling the <code>disableSnapshotsInHooks</code> experiment. Again thank you <a href="https:/... (continued)
17 of 27 branches covered (62.96%)
Branch coverage included in aggregate %.
39 of 64 relevant lines covered (60.94%)
38.81 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|