ava-thanable
await
AVA tests
Example
; const login = ; test;
Install
yarn add --dev ava-thenable
API
This module only extends the AVA API, all the methods not mentioned here should work the same way they work with vanilla AVA.
test(...args)
Returns a Promise
that resolves when the test has finished.
test.join(...testPromises, ...args)
Defines a test that waits the promises of other tests (testPromises
). Named after Bluebird.join.
test.configureThenable(options)
Make a call to test.configureThenable
before defining any tests.
Example:
; test; // ...
concurrency
Type: number
Default: Infinity
Concurrency limit.
This option is passed to p-queue