Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump ava from 3.7.1 to 3.8.0 #59

Merged
merged 1 commit into from
Apr 27, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps ava from 3.7.1 to 3.8.0.

Release notes

Sourced from ava's releases.

3.8.0

Node.js 14 support

Great news, this is a feature heavy release!

First off, though, AVA now officially supports Node.js 14. Thank you @zackschuster! 2e7c76b85cb65a04605fed843ee2f571afc66c37

Run tests at specific line numbers

AVA can now run tests at specific line numbers! 🎉

Given the following test file:

test.js

1: test('unicorn', t => {
2:   t.pass();
3: });
4:
5: test('rainbow', t => {
6:  t.fail();
7: });

Running npx ava test.js:2 for would run the unicorn test. In fact you could use any line number between 1 and 3.

This feature is only available from the command line. It won't work if you use tools like ts-node/register or @babel/register, and it does not currently work with @ava/babel and @ava/typescript. See avajs/ava#2473.

Thank you @ulken for your hard work and patience to get this shipped. 1222ce9538e4890c20af695e558e3ee490f5a41b

Test-specific teardown functions

Sometimes tests have side-effects you want to clean up. @ulken has implemented t.teardown() which lets you register teardown functions within your test. They'll run once your test has finished, even if it failed: 75cbc3b2a53d3b8530266b10bed71b838bc11fec

test('read file', t => {
	fs.writeFileSync('file.txt', '👋');
	t.teardown(() => fs.unlinkSync('file.txt');
// Run assertions

});

Node.js internal in stack traces

Thanks to @bunysae, stack traces now include Node.js internals. Previously we removed them because we wanted you to focus on your own code, but quite often they do provide context. Now they're displayed, but somewhat dimmed. 9a9351ddbee9c6c76601210c5dd8f5b0d81cc3b0

Watch mode with the default reporter

... (truncated)
Commits
  • b669efa 3.8.0
  • 0976cfe Dependency updates
  • 1222ce9 Run tests at selected line numbers
  • 75cbc3b Add t.teardown()
  • 993bb90 Remove test slowness output checks from reporter tests
  • af7b2d5 Don't print empty error stacks
  • 2e7c76b Node.js 14 compatibility
  • 59c227d Fix watch mode with mini reporter
  • 9a9351d Retain (most of) Node.js internals in stack traces
  • See full diff in compare view

Dependabot compatibility score

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 commands and options

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:

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

Bumps [ava](https://github.com/avajs/ava) from 3.7.1 to 3.8.0.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](avajs/ava@v3.7.1...v3.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 27, 2020
@coveralls
Copy link

Pull Request Test Coverage Report for Build 319

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 61.538%

Totals Coverage Status
Change from base Build 315: 0.0%
Covered Lines: 39
Relevant Lines: 64

💛 - Coveralls

@jniles
Copy link
Contributor

jniles commented Apr 27, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 27, 2020

Build succeeded:

  • continuous-integration/travis-ci/push

@bors bors bot merged commit f523e51 into master Apr 27, 2020
@bors bors bot deleted the dependabot/npm_and_yarn/ava-3.8.0 branch April 27, 2020 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants