ava
ava copied to clipboard
Node.js test runner that lets you develop with confidence 🚀
I'm creating tests based on Playwright. I have a macro that handles creation of browser and passing it further to the test context. And the thing is that it is...
Recently I found myself having to bundle the tests to overcome all the hurdles caused by combinations of AVA, TypeScript and `type: "module"` (https://github.com/vadimdemedes/dom-chef/pull/68 and https://github.com/sindresorhus/refined-github/pull/3206), so having AVA support...
As of #2316, the upcoming v3 release has a built-in `debug` command. I've updated two of the existing debugging recipes but I'm not a WebStorm user, so this recipe still...
`t.throws()` and `t.throwsAsync()` require the resulting exception to be a proper error: https://github.com/avajs/ava/blob/952a0177758c5601a72c2b050fc0308e7fa774c7/lib/assert.js#L147-L154 I propose we add an `any: boolean` option to the `expectations` object used for these assertions. If...
I often find myself formatting generated long test and macro titles to shorter strings (I never felt the need to do this for assertion titles, as I rarely use them)....
The object can have a property with `data\n` x 1000.
This issue summarizes our ideas for documentation improvements. * Explain "helpers", how they're different from "test files", how to best use them, why you might add them to the `require`...
For #1722 I had to remove the job concurrency in AVA's internal tests for Windows. Tests that themselves invoked AVA in a child process would time out, since the invoked...
## Description AVA seems to sometimes garble [node-canvas](https://www.npmjs.com/package/canvas) dataurls that I stdout back out to the console. This behavior is reproducible, but slight tweaks to the values make it work/not-work....
https://github.com/avajs/ava/blob/c41b2afc201118bfdc4d2039180ae2ddd0f697c9/lib/assert.js#L318 If I add a `console.error('ava error', err)` before that line I get: ``` ava error { [ChecksumError: Checksum mismatch] name: 'ChecksumError', snapPath: '/Users/Vaughan/Library/Caches/IntelliJIdea2017.3/wallaby/projects/c682bc127da20367/instrumented/packages/intranav-protocol/test/snapshots/index.test.js.snap' } ``` This error is not...