Ran
|
Jobs
3
|
Files
3
|
Run time
9s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Update dependency ava to v1.4.0 (#177) This PR contains the following updates: | Package | Type | Update | Change | References | |---|---|---|---|---| | ava | devDependencies | minor | [`1.3.1` -> `1.4.0`](https://diff.intrinsic.com/ava/1.3.1/1.4.0) | [homepage](https://ava.li), [source](https://togithub.com/avajs/ava) | --- ### Release Notes <details> <summary>avajs/ava</summary> ### [`v1.4.0`](https://togithub.com/avajs/ava/releases/v1.4.0) [Compare Source](https://togithub.com/avajs/ava/compare/v1.3.1...v1.4.0) #### Focusing [`power-assert`](https://togithub.com/power-assert-js/power-assert) AVA comes with [`power-assert`](https://togithub.com/power-assert-js/power-assert) built-in, giving you more descriptive assertion messages. However it's been confusing to understand _which_ assertions come with `power-assert`. To address this we've added the new `t.assert()` assertion. It's now the only assertion that is `power-assert` enabled. The assertion passes if called with a truthy value. Consider this example: ```js test('enhanced assertions', t => { const a = /foo/; const b = 'bar'; const c = 'baz'; t.assert(a.test(b) || b === c); }); ``` <details> <summary>AVA will output:</summary> <pre><code>6: const c = 'baz'; 7: t.assert(a.test(b) || b === c); 8: }); Value is not truthy: false a.test(b) || b === c => false b === c => false c => 'baz' b => 'bar' a.test(b) => false b => 'bar' a => /foo/</code></pre> </details> Our [ESLint plugin](https://togithub.com/avajs/eslint-plugin-ava) has been updated to support this new assertion. Many thanks to [@​eemed](https://togithub.com/eemed) for implementing this! [`9406470`](https://togithub.com/avajs/ava/commit/940647028) #### Watch mode Watch mode now prints the available commands. Thanks [@​KompKK](https://togithub.com/KompKK)! [`cd256ac`](https://togithub.com/avajs/ava/co... (continued)
77 of 87 branches covered (88.51%)
Branch coverage included in aggregate %.
213 of 243 relevant lines covered (87.65%)
23.37 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 313.1 | 3 |
87.88 |
Travis Job 313.1 | |
2 | 313.2 | 3 |
87.88 |
Travis Job 313.2 | |
3 | 313.3 | 3 |
87.88 |
Travis Job 313.3 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|