Ran
|
Files
1
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci-com
Merge #61 61: build(deps-dev): bump ava from 3.8.0 to 3.8.1 r=jniles a=dependabot-preview[bot] Bumps [ava](https://github.com/avajs/ava) from 3.8.0 to 3.8.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.8.1</h2> <h2>Node.js 14 support</h2> <p>Great news, this is a feature heavy release!</p> <p>First off, though, AVA now officially supports Node.js 14. Thank you <a href="https://github.com/zackschuster">@zackschuster</a>! 2e7c76b85</p> <h2>Run tests at specific line numbers</h2> <p>AVA can now run tests at specific line numbers! 🎉</p> <p>Given the following test file:</p> <p><code>test.js</code></p> <pre lang="js"><code>1: test('unicorn', t => { 2: t.pass(); 3: }); 4: 5: test('rainbow', t => { 6: t.fail(); 7: }); </code></pre> <p>Running <code>npx ava test.js:2</code> for would run the <code>unicorn</code> test. In fact you could use any line number between <code>1</code> and <code>3</code>.</p> <p>This feature is only available from the command line. It won't work if you use tools like <code>ts-node/register</code> or <code>@babel/register</code>, and it does not currently work with <code>@ava/babel</code> and <code>@ava/typescript</code>. See <a href="https://github-redirect.dependabot.com/avajs/ava/issues/2473">avajs/ava#2473</a>.</p> <p>Thank you <a href="https://github.com/ulken">@ulken</a> for your hard work and patience to get this shipped. 1222ce953</p> <h2>Test-specific teardown functions</h2> <p>Sometimes tests have side-effects you want to clean up. <a href="https://github.com/ulken">@ulken</a> has implemented <code>t.teardown()</code> which lets you register teardown functions <em>within</em> your test. They'll run once your test has finished, even if it failed: 75cbc3b2a</p> <pre><code>test('read file', t => { fs.writeFil... (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 |
---|