• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

codetheweb / tuyapi / 313 / 3
92%
master: 58%

Build:
Build:
LAST BUILD BRANCH: renovate/xo-1.x
DEFAULT BRANCH: master
Ran 26 Mar 2019 11:24PM UTC
Files 3
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Mar 2019 11:22PM UTC coverage: 87.879%. Remained the same
313.3

push

travis-ci

codetheweb
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 [@&#8203;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 [@&#8203;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%)

7.79 hits per line

Source Files on job 313.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 245
  • Travis Job 313.3
  • 5a74cf8a on github
  • Prev Job for on development (#302.1)
  • Next Job for on development (#388.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc