dmitriz / cpsfy

🚀 Tiny goodies for Continuation-Passing-Style functions, fully tested
https://www.npmjs.com/package/cpsfy
MIT License
70 stars 2 forks source link

chore(deps): update dependency ava to v3.8.1 - autoclosed #101

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
ava (source) devDependencies patch 3.8.0 -> 3.8.1

Release Notes

avajs/ava ### [`v3.8.1`](https://togithub.com/avajs/ava/releases/v3.8.1) [Compare Source](https://togithub.com/avajs/ava/compare/v3.8.0...v3.8.1) #### 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](https://togithub.com/zackschuster)! [`2e7c76b`](https://togithub.com/avajs/ava/commit/2e7c76b85cb65a04605fed843ee2f571afc66c37) #### Run tests at specific line numbers AVA can now run tests at specific line numbers! 🎉 Given the following test file: `test.js` ```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 [#​2473](https://togithub.com/avajs/ava/issues/2473). Thank you [@​ulken](https://togithub.com/ulken) for your hard work and patience to get this shipped. [`1222ce9`](https://togithub.com/avajs/ava/commit/1222ce9538e4890c20af695e558e3ee490f5a41b) #### Test-specific teardown functions Sometimes tests have side-effects you want to clean up. [@​ulken](https://togithub.com/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: [`75cbc3b`](https://togithub.com/avajs/ava/commit/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](https://togithub.com/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. [`9a9351d`](https://togithub.com/avajs/ava/commit/9a9351ddbee9c6c76601210c5dd8f5b0d81cc3b0) #### Watch mode with the default reporter Watch mode with the default reporter once again accepts key input. Thanks [@​pcdevil](https://togithub.com/pcdevil)! [`59c227d`](https://togithub.com/avajs/ava/commit/59c227d9c5261117d99e8e84693b9c89c3438a92) #### ICYMI - `afterEach()` and `afterEach.always()` hooks can now determine whether the test passed. Thank you [@​bunysae](https://togithub.com/bunysae) for contributing this! [`8f312c0`](https://togithub.com/avajs/ava/commit/8f312c0) ```js test('passes', t => t.pass()); test.afterEach(t => { if (t.passed) { // Do something because the test passed } else { // Do something because the test failed } }); ``` - If you've ever wanted to save some files along with AVA's snapshots, you can now determine the directory path by accessing `test.meta.snapshotDirectory`. Thank you [@​ulken](https://togithub.com/ulken)! [`cb5f9f7`](https://togithub.com/avajs/ava/commit/cb5f9f7) #### All changes See for all changes.

Renovate configuration

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

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

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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



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

codecov[bot] commented 4 years ago

Codecov Report

Merging #101 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #101   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           60        60           
=========================================
  Hits            60        60           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 50d98b3...f97aa89. Read the comment docs.