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

codetheweb / tuyapi / 313
92%
master: 58%

Build:
Build:
LAST BUILD BRANCH: renovate/xo-1.x
DEFAULT BRANCH: master
Ran 26 Mar 2019 11:24PM UTC
Jobs 3
Files 3
Run time 9s
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

pending completion
313

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%)

23.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 313.1 26 Mar 2019 11:24PM UTC 0
87.88
Travis Job 313.1
2 313.2 26 Mar 2019 11:24PM UTC 0
87.88
Travis Job 313.2
3 313.3 26 Mar 2019 11:24PM UTC 0
87.88
Travis Job 313.3
Source Files on build 313
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #313
  • 5a74cf8a on github
  • Prev Build on development (#302)
  • Next Build on development (#388)
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

© 2025 Coveralls, Inc