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

⬆️ Update dependency ava to v1.4.1 - autoclosed #188

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 13, 2019

This PR contains the following updates:

Package Type Update Change
ava (source) devDependencies minor 1.0.1 -> 1.4.1

Release Notes

avajs/ava

v1.4.1

Compare Source

Focusing power-assert

AVA comes with 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:

test('enhanced assertions', t => {
	const a = /foo/;
	const b = 'bar';
	const c = 'baz';
	t.assert(a.test(b) || b === c);
});
AVA will output:
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/

Our ESLint plugin has been updated to support this new assertion. Many thanks to @​eemed for implementing this! 9406470

Watch mode

Watch mode now prints the available commands. Thanks @​KompKK! cd256ac

Bug fixes

  • Filtered tests (when using --match, .skip() or .only()) are no longer included in the list of pending tests when timeouts occur or when you interrupt a test run. Thanks @​vancouverwill! 23e302a
  • We're now shimming all TTY methods in the worker processes, thanks to @​okyantoro. c1f6fdf

Documentation updates

  • We've added a note to say that, by default, AVA does not have a default test timeout. Thanks @​amokmen! 99a10a1

All changes

v1.3.1...v1.4.1

Thanks

Thank you @​eemed, @​KompKK, @​vancouverwill, @​okyantoro and @​amokmen. We couldn't have done this without you!

Get involved

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v1.4.0

Compare Source

v1.3.1

Compare Source

Bug fixes

  • We've fixed a rather embarrasing bug with t.throws() and t.throwsAsync(). If you'd set a code expectation to a number we never actually checked that the thrown error had such a code! Thanks to @​qlonik for both spotting and fixing this. 82daa5e
  • 1.2.0 contained a regression which meant that if you faked clearTimeout(), you'd break AVA. That's now been fixed. 40f331c
  • Snapshot files are now recognized as source files, so if you're using watch mode and you delete one, AVA won't rerun all your test files. d066f6f

New features

You can now use require() in ava.config.js files to load non-ES modules. 334e15b

All changes

v1.2.1...v1.3.1

Thanks

Thank you @​itaisteinherz, @​jdalton, @​kagawagao, @​KompKK, @​SleeplessByte, @​Chrisyee22 and @​qlonik for helping us with this release. We couldn't have done this without you!

Get involved

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v1.3.0

Compare Source

v1.2.1

Compare Source

This is a bug fix release. In very large projects, the options send to worker processes would exceed limits on process argument size. We're now sending the options via the inter-process communication channel. 3078892

All changes 📚

v1.2.0...v1.2.1

Get involved ✌️

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v1.2.0

Compare Source

New features

You can now set a timeout for test themselves. The test will fail if this timeout is exceeded. The timeout is reset each time an assertion is made:

test('foo', t => {
	t.timeout(100); // 100 milliseconds
	// Write your assertions here
});

b65c6d7

AVA also has a global timeout feature. The mini reporter now logs tests that were pending when those timeouts occur. Additionally, if you interrupt a test using ctrl+c we'll now also show the pending tests. 2b60556

Thank you @​dflupu for your hard work on this!

Bug fixes and other improvements

  • We're no longer truncating multi-line error messages 72e0762
  • Unexpected errors in the throws assertions are now reported with the correct stack trace ad087f2
  • The Debugging with VSCode recipe has been updated with the correct workspaceFolder variable 0a5fe42 and --serial argument placement edfc005

All changes 📚

v1.1.0...v1.2.0

Thanks 💌

💖 Huge thanks to @​anishkny, @​CrispusDH, @​dflupu and @​niktekusho for helping us with this release. We couldn’t have done it without you!

Get involved ✌️

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v1.1.0

Compare Source

New features

AVA now exports a meta object. Currently, you can retrieve the path of the test file being run:

import test from 'ava';

console.log('Test currently being run: ', test.meta.file);
import {meta} from 'ava';

console.log('Test currently being run: ', meta.file);

This is useful in helpers that need to know the test file. bccd297

Bug fixes and other improvements

  • t.log() now works in hooks d187712

  • Error output for improper usage of t.throws() once again links to the correct documentation dc552bc

  • We've added a section on webpack aliases to the Babel recipe c3bcbf2

  • We've updated the Vue recipe for Babel 7, and added a section on webpack aliases c3bcbf2

All changes 📚

v1.0.1...v1.1.0

Thanks 💌

💖 Huge thanks to @​fitztrev, @​forresst, @​astrob0t, @​pearofducks, @​coreyfarrell and @​dflupu for helping us with this release. We couldn’t have done it without you!

Get involved ✌️

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.

@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.1.0 ⬆️ Update dependency ava to v1.2.0 Jan 27, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.2.0 ⬆️ Update dependency ava to v1.2.0 Jan 27, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.2.0 ⬆️ Update dependency ava to v1.2.1 Feb 5, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.2.1 ⬆️ Update dependency ava to v1.3.0 Mar 5, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.3.0 ⬆️ Update dependency ava to v1.3.1 Mar 5, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.3.1 ⬆️ Update dependency ava to v1.3.1 Mar 5, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.3.1 ⬆️ Update dependency ava to v1.3.1 Mar 7, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.3.1 ⬆️ Update dependency ava to v1.4.0 Mar 24, 2019
@renovate renovate bot force-pushed the renovate/ava-1.x branch 2 times, most recently from 75da380 to 503f1df Compare March 24, 2019 17:52
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.4.0 ⬆️ Update dependency ava to v1.4.1 Mar 27, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.4.1 ⬆️ Update dependency ava to v1.4.1 Mar 27, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.4.1 ⬆️ Update dependency ava to v1.4.1 Jun 1, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.4.1 ⬆️ Update dependency ava to v1.4.1 Jun 1, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.4.1 ⬆️ Update dependency ava to v1.4.1 Jun 3, 2019
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.4.1 ⬆️ Update dependency ava to v1.4.1 Nov 21, 2019
@renovate renovate bot force-pushed the renovate/ava-1.x branch 5 times, most recently from 296788c to 1b328a0 Compare December 7, 2019 12:13
@renovate renovate bot changed the title ⬆️ Update dependency ava to v1.4.1 ⬆️ Update dependency ava to v1.4.1 - autoclosed Dec 7, 2019
@renovate renovate bot closed this Dec 7, 2019
@renovate renovate bot deleted the renovate/ava-1.x branch December 7, 2019 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant