Skip to content

Commit

Permalink
Merge #84
Browse files Browse the repository at this point in the history
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. f72fab40160a413f4d7ab0208979fe3e721198ea</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: ca8ea45587ebefa5584d6a7aa50adf90840701cf</p>
<pre lang="js"><code>test('foo', t =&gt; {
	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. d01db61ee5e9785d9f80ad5683cac21db4b96509</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://github.com/okyantoro">@okyantoro</a> d01db61ee5e9785d9f80ad5683cac21db4b96509.</p>
<h2>Fixed TypeScript definition for <code>t.like()</code></h2>
<p>The <a href="https://github-redirect.dependabot.com/avajs/ava/issues/2518">experimental <code>t.like()</code> assertion</a> should now work better with TypeScript.</p>
<h2>All changes</h2>
<p>See <a href="https://github.com/avajs/ava/compare/v3.9.0...v3.10.1">https://github.com/avajs/ava/compare/v3.9.0...v3.10.1</a> for all changes.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/avajs/ava/commit/07602f5bedd4d1363d3998d5e4508d1e094dff4f"><code>07602f5</code></a> 3.10.1</li>
<li><a href="https://github.com/avajs/ava/commit/a557bc08c49b11fe0faa40ea0095d21c187757ec"><code>a557bc0</code></a> Reinstall XO to fix CI error</li>
<li><a href="https://github.com/avajs/ava/commit/7d4aa459baa45e79cf102aa8cc69dfa70dfaf366"><code>7d4aa45</code></a> Revert &quot;Use advanced serialization (when available) for test worker communica...</li>
<li>See full diff in <a href="https://github.com/avajs/ava/compare/v3.10.0...v3.10.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=ava&package-manager=npm_and_yarn&previous-version=3.10.0&new-version=3.10.1)](https://dependabot.com/compatibility-score/?dependency-name=ava&package-manager=npm_and_yarn&previous-version=3.10.0&new-version=3.10.1)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
  • Loading branch information
bors[bot] and dependabot-preview[bot] authored Jul 8, 2020
2 parents da0e465 + 22b8607 commit 662fb20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,9 @@ asynckit@^0.4.0:
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"

ava@^3.0.0:
version "3.10.0"
resolved "https://registry.yarnpkg.com/ava/-/ava-3.10.0.tgz#ed1a53986435fc1cd8c15978cd8ff81217c34831"
integrity sha512-CxcYQYeE39pcLWrN2/TASMpnqH/SoaX+W61+4m3saETU041PIDcoP9LLNWPAE/yJZXjp0M1RWTohSkmGqJZKww==
version "3.10.1"
resolved "https://registry.yarnpkg.com/ava/-/ava-3.10.1.tgz#a4e68b1a2bb248fa0d96529d23dd83f57082e944"
integrity sha512-+w86ZHyFHIGCABi7NUrn/WJMyC+fDj0BSIlFNVS45WDKAD5vxbIiDWeclctxOOc2KDPfQD7tFOURSBz0FBLD0A==
dependencies:
"@concordance/react" "^2.0.0"
acorn "^7.3.1"
Expand Down

0 comments on commit 662fb20

Please sign in to comment.