Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Update dependency ava to v1.4.0 #113

Merged
merged 1 commit into from
Mar 25, 2019
Merged

Update dependency ava to v1.4.0 #113

merged 1 commit into from
Mar 25, 2019

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 24, 2019

This PR contains the following updates:

Package Type Update Change References
ava devDependencies minor 1.3.1 -> 1.4.0 homepage, source

Release Notes

avajs/ava

v1.4.0

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.0

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.


Renovate configuration

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

🚦 Automerge: Enabled.

♻️ Rebasing: Whenever PR becomes conflicted, 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

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency ava to v1.4.0 Update dependency ava to v1.4.0 Mar 25, 2019
@coveralls
Copy link

Coverage Status

Coverage remained the same at 43.59% when pulling 6c67576 on renovate/ava-1.x into 6d17eeb on master.

@renovate renovate bot merged commit 729f5e5 into master Mar 25, 2019
@renovate renovate bot deleted the renovate/ava-1.x branch March 25, 2019 08:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants