Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/avajs/ava

Node.js test runner that lets you develop with confidence 🚀
https://github.com/avajs/ava

Improve error message when `test.cb()` is used with promises

Fixes #2386

Co-authored-by: Mark Wubben <[email protected]>

f5a8c2b2df757886247492ce3372f1e18da36ab7 authored over 4 years ago by toddkcarlson <[email protected]>
3.3.0

c166e050ac9f2d1267c0dfa76c11d8451a3f361c authored over 4 years ago by Mark Wubben <[email protected]>
Upgrade @ava/babel

Recognize new @ava/require-precompiled dependency when beautifying stack traces.

362b6f983b293e81eeb11ccc249a0ac4bab52921 authored over 4 years ago by Mark Wubben <[email protected]>
Support loading ESM test files

Co-authored-by: Mark Wubben <[email protected]>

04ba44b4d738088a5133895caad7e85d25240b42 authored over 4 years ago by Markus Felten <[email protected]>
3.2.0

ea05758c84a11b3111efb5db2351156179e139db authored over 4 years ago by Mark Wubben <[email protected]>
Map provider protocols to 'levels'

Rather than perform typeof checks to see if the provider has a
particular feature, check the 'su...

f4008d579af201253e1304bd7dce5caa417899bc authored over 4 years ago by Mark Wubben <[email protected]>
Clarify comment

7ccb2082cb4a656aceb63b145f578083e66d07b0 authored over 4 years ago by Mark Wubben <[email protected]>
Improve integration with the TypeScript provider

This allows the watcher to cater for the TypeScript build process.

It also allows the provider ...

6c9115308c4caa4dd0f3966a521be9293d64e799 authored over 4 years ago by Mark Wubben <[email protected]>
3.1.0

56338dcb77246b5eca3c01e24d1cb6d66da8f71f authored over 4 years ago by Mark Wubben <[email protected]>
Rudimentary support for loading TypeScript test files

* Generalize providers rather than supporting just the Babel one

* Add rudimentary TypeScript...

e4fef0cf5e438c6a61e1c3bc24db9c92fc8082f7 authored over 4 years ago by Mark Wubben <[email protected]>
Remove v2 configuration from TypeScript recipe

Fixes #2376

91a00864f7f113dd63a2c4ecc383fc8c45f79665 authored over 4 years ago by Jim Burbridge <[email protected]>
3.0.0

b4cfc8dd9b74a0899a1186b749c380da01245985 authored over 4 years ago by Mark Wubben <[email protected]>
Ship v3 🎉

* Remove v3 caveats from documentation

Fixes #2349

* Update dev dependencies

* Finalize...

776788f5776157710a95a1bcebb9876f2b8b0c1c authored over 4 years ago by Mark Wubben <[email protected]>
More issue template tweaks

0d11ff7063b677a1f27795f5682b2be3160724ec authored over 4 years ago by Mark Wubben <[email protected]>
Update various contributing documents and GitHub configuration

* Add --no-cov to instructions on running specific tests

* Update contributing document

Fi...

998397671fcaf46e83a88775150a58c02b62c890 authored over 4 years ago by Mark Wubben <[email protected]>
Fix fail-fast interrupt test

Listen for the peer-failure notification before resuming tests. Then
verify the test execution ...

5a335729eab820a7ea1a17ab1c9425efd58803c8 authored over 4 years ago by Mark Wubben <[email protected]>
Fix VSCode debugging instructions

`configurations` is an array, not an object.

Add instructions for debugging precompiled tests.

61e0d05e390dd43dedb723e36f2af9bb752c0f18 authored over 4 years ago by Mark Wubben <[email protected]>
Fix AVA link in snapshot reports

Fixes #2368.

5c8bcecf04cf360b807d3e9b002e50c0ffe90cfc authored over 4 years ago by Mark Wubben <[email protected]>
Fix remaining AVA link

630aac3ff1e1e7bb3da5d45a1c473f3ebc84ae9a authored over 4 years ago by Mark Wubben <[email protected]>
Allow Node arguments to be configured

Supports `nodeArguments` configuration and `--node-arguments` on the CLI. Fixes #2090.

Co-aut...

7b20f6c8c3f790ec537b6e6bde087ab65a1022a9 authored over 4 years ago by maximelkin <[email protected]>
3.0.0-beta.2

ad27246dd0938a24974eaccc76189fe3ee7a8d18 authored almost 5 years ago by Mark Wubben <[email protected]>
Lowercase CLI argument description asides

ae948d8dbb9d2feaf44fc939b8590e0f358825d2 authored almost 5 years ago by Mark Wubben <[email protected]>
Update dependencies

ac8c852a3bdc71efdd435e3ae7a6070be28347a0 authored almost 5 years ago by Mark Wubben <[email protected]>
Disable timeouts in debug mode

Fixes #2355.

2bd890fc597530f7dd5237d729fcc4a96807d08d authored almost 5 years ago by Mark Wubben <[email protected]>
Make console & process globals available to ava.config.js files

Fixes #2356.

15d73ca59984a748245a7bea4c95630947790ff8 authored almost 5 years ago by Mark Wubben <[email protected]>
Fix patterns and unpin picomatch

Fixes #2353.

efa86354a025081975c85ed19d9080e4a11e4f65 authored almost 5 years ago by Mark Wubben <[email protected]>
Fix --update-snapshots

Fixes #2357

580705e41d603095b18c7efc22a0d5d1e628b512 authored almost 5 years ago by Shishir <[email protected]>
Ensure t.assert() counts as a passed assertion

Fixes #2354.

cf26b6d3723dac2c8907280dce9d11b8823b90cb authored almost 5 years ago by Abdelrahman Ashraf <[email protected]>
Add Selenium WebDriverJS recipe

Co-authored-by: Sindre Sorhus <[email protected]>
Co-authored-by: Mark Wubben <mark@novemb...

82cef5c256e0fff1d67dc0537dd419af24b26ce8 authored almost 5 years ago by Pushkar Apte <[email protected]>
Use question mark to indicate optional argument in docs

090884b5040a1d4b02a18939245f7c2305228e00 authored almost 5 years ago by Sindre Sorhus <[email protected]>
3.0.0-beta.1

7c352db5b929ac9e59daf9dd12f6387d38639d1a authored almost 5 years ago by Mark Wubben <[email protected]>
Rebuild package-lock

66dd09fd879ed5ca362b9ac4bec6927ee4588ef0 authored almost 5 years ago by Mark Wubben <[email protected]>
Install latest @ava/babel

f02ac7a226eacb26105526d37c6417201b390d44 authored almost 5 years ago by Mark Wubben <[email protected]>
Don't replace global console

It's slightly different than a new console instance. Instead copy methods across.

6995471edebfef6af924d19d7b196979cb85535f authored almost 5 years ago by Mark Wubben <[email protected]>
Anticipate asynchronous loads

8bdcf8be148478d766087cebe4cb6bbb2b5bc976 authored almost 5 years ago by Mark Wubben <[email protected]>
Pass extensions to load as modules to Babel provider

e919b4039116b2628156e9b2f533b9ef56c721e7 authored almost 5 years ago by Mark Wubben <[email protected]>
Remove legacy .throws() and .throwsAsync() interfaces

Fixes #2301.

7f99aef61f3aed2389ca9407115ad4c9aecada92 authored almost 5 years ago by Mark Wubben <[email protected]>
Directly use picomatch

Optimize matching by caching the functions that micromatch would have generated internally.

9f477c763a307a358ede17ec3081c16b5e899220 authored almost 5 years ago by Mark Wubben <[email protected]>
Pin picomatch@~2.1.1 due to regressions

54ff13036517e7dff3d95b7afe4e70254b1dbe7a authored almost 5 years ago by Mark Wubben <[email protected]>
Remove the faking of the TTY in worker processes

* Remove the faking of the TTY in worker processes

* Replace global console in workers with o...

d09161a302cecd944db385059c3b2c8f092d578f authored almost 5 years ago by Mark Wubben <[email protected]>
Update Babel protocol

465aef2960a5c4e297ae734ba03601e0fa334007 authored almost 5 years ago by Mark Wubben <[email protected]>
Passing --color/--no-color to worker processes is unnecessary

bd5c05f57b97c0ad1b9c4f96d1a281eba331d826 authored almost 5 years ago by Mark Wubben <[email protected]>
Stop rewriting NODE_PATH values to be absolute paths

1f10a7cfa1b2ccc9378143c08f79727e725c5550 authored almost 5 years ago by Mark Wubben <[email protected]>
Set a default timeout of 10 seconds

f2172526ae03490a548f6ef30a81c8212c280c58 authored almost 5 years ago by Mark Wubben <[email protected]>
Type observables based on how they're consumed by AVA

Detect subscribables and convert to promise. Simplify type description to match what AVA actuall...

b78c71d5d0653ea9279ca71189453b5c7776ab46 authored almost 5 years ago by Micaël Mbagira <[email protected]>
Initialize Chalk in worker processes with same level as main process

a07daeb79accb0757eba6cf1c63066c89452ada3 authored almost 5 years ago by Mark Wubben <[email protected]>
Remove bench files; clean up & bump dependencies

* Remove bench files

* Remove unused dependencies

* Bump dev dependencies

* Bump depend...

4fdd416a602fdb0d22df51246adf4d2b00609914 authored almost 5 years ago by Mark Wubben <[email protected]>
Add support for .cjs files; select but do not yet handle .mjs files

As per #2293, this begins the work to support `.cjs` and `.mjs` files.

* AVA will now select ...

8fa28254dbebef32cbde05c0c9a49061d0ef82f8 authored almost 5 years ago by Mark Wubben <[email protected]>
Increase timeout in fail-fast interrupt test

Hopefully this removes more flakiness from Windows tests.

98c47b45929d48d74503623f4d2a96fec6cbaf1f authored almost 5 years ago by Mark Wubben <[email protected]>
Do not treat files in underscore-prefixed directories as test files

When a file has a parent directory that starts with a single underscore,
do not treat it as a te...

647c24e92d7ffb587016f9fb925cdad18f5c494f authored almost 5 years ago by Mark Wubben <[email protected]>
Correctly print relative paths in reporters

33075127533e27d9eda1657271968ce00a03009f authored almost 5 years ago by Mark Wubben <[email protected]>
Do not pass babelProvider to watcher code

806c4db3ec334cf67d02bb7f9a8b3007e37cf37e authored almost 5 years ago by Mark Wubben <[email protected]>
Remove file selection weirdness

Aim for absolute paths, always and everywhere.

643de7b97a026d536bdeb605015380d9ec4e43e2 authored almost 5 years ago by Mark Wubben <[email protected]>
Ignore likely helper and fixture files during test file globbing

Fixes #2282.

ee0cbe1042a5d777ac0fd22d1aea14b4e6d518b6 authored almost 5 years ago by Mark Wubben <[email protected]>
Glob patterns should be relative

a7f062907b70ce04db456acb4d17f4213b65dcf9 authored almost 5 years ago by Mark Wubben <[email protected]>
Always glob for test files

So that they can be compiled, if necessary.

b7b7383fc8e255e1ae03644742c391e47f637c60 authored almost 5 years ago by Mark Wubben <[email protected]>
Allow CLI to select a subset of test files

Rather than providing paths to specific test files, allow
micromatch-compatible patterns to be p...

83b43a58593ea3a4e1fd271099184963ccdb7d4c authored almost 5 years ago by Mark Wubben <[email protected]>
Only select test.* files in specific locations

From the project directory, select test.*, src/test.* and source/test.* files.

Fixes #2172.

e330c3ee32433f26ac010e009171a57942a8418b authored almost 5 years ago by Mark Wubben <[email protected]>
Tweak timeout value in t.try() test

This is the one test that is still flaky on Windows.

522e77a820f92979f155123de77960c666878d24 authored almost 5 years ago by Mark Wubben <[email protected]>
Fix color initialization

eaf6e6484983e5b5509b33d5ca32dd96330548aa authored almost 5 years ago by Mark Wubben <[email protected]>
Use CJS syntax in documentation

Out of the box, ESM syntax will only work in Node.js 13, so having that
as the default example i...

79b2ea30c125f44e4d47bdafdeec351cddb5911a authored almost 5 years ago by Mark Wubben <[email protected]>
Refactor extension normalization

* Don't repeat duplicates
* Add unused defaults unless extensions are explicitly set to the empt...

b09eb2d2229cba4908a1d003716e15aee00c9dc8 authored almost 5 years ago by Mark Wubben <[email protected]>
Refactor globbing

This removes the concept of "helpers" from AVA. Instead, the Babel
provider can be configured to...

9deaa41319979e7a2f4c6239ab3c2cd0eb5cd824 authored almost 5 years ago by Mark Wubben <[email protected]>
Refine check for now unsupported compileEnhancements configuration

cff8871859623505b02586975130e78006b80622 authored almost 5 years ago by Mark Wubben <[email protected]>
Remove support for outdated 'esm' versions

30f0e14b261ebfe2c83e75b151ff18ce088a6e48 authored almost 5 years ago by Mark Wubben <[email protected]>
Simplify Babel integration by separating the use cases

Get ready to explicitly load files through the Babel provider. Remove
unnecessary checks to see ...

b446f69f93d66a59d1601eb05a9679aa0eb02e70 authored almost 5 years ago by Mark Wubben <[email protected]>
Remove built-in Babel support

This updates code and tests to remove built-in Babel support. In the
future, it needs to be opt...

b4ea43529a6d058a96055735cfa6e7056c009112 authored almost 5 years ago by Mark Wubben <[email protected]>
Add built-in debug command

Fixes #1505.

4953457277a355e231beaa11431eb58a209ae7fc authored almost 5 years ago by Mark Wubben <[email protected]>
Replace meow by yargs

fef2ef6b722725822d84349dc2f29ab671c7495d authored almost 5 years ago by Mark Wubben <[email protected]>
Remove profile.js

f1cb455f0a5a5de0cfaa083a4ad7288009d3de6f authored almost 5 years ago by Mark Wubben <[email protected]>
When checking for file existence, use normalized files

4a4ef8a914fc1bccba83bfa65fa7f6a7725306e1 authored almost 5 years ago by Mark Wubben <[email protected]>
CI: Run when merged to master

aad4cd682aec00be0dbcacc35da66386c7a69ea6 authored almost 5 years ago by Mark Wubben <[email protected]>
Correctly set Chalk level based on --color CLI boolean flag

5b249b96e87fbbfcb1bf4ba7db23cb4564ed3749 authored almost 5 years ago by Mark Wubben <[email protected]>
CI: Use codecov action

3172a608a26cfd800bf4fd5e08a285c69ebd9bfb authored almost 5 years ago by Mark Wubben <[email protected]>
Bump dependencies

cdb5019b16a797558416bce01a4cd76102267eeb authored almost 5 years ago by Mark Wubben <[email protected]>
Lint fixes now Node.js 8 is no longer supported

c49c0bd6f62d20612bfd8411c11e0f41ad5baeb5 authored almost 5 years ago by Mark Wubben <[email protected]>
Require the most recent Node.js releases, drop Node.js 8 support

5c44d7d6645df20734778466fd4143abe1162202 authored almost 5 years ago by Mark Wubben <[email protected]>
Remove array-union and array-uniq dependencies

97571901faddf83d95dd1450ca2f131f51fb5856 authored almost 5 years ago by Jimmy Wärting <[email protected]>
Tweak GitHub Actions setup

Run for pull requests, including from from forks, I hope.

Ignore docs, media and Markdown fil...

9ec616436796adfb397001d0fd62fde097ef2ad2 authored almost 5 years ago by Mark Wubben <[email protected]>
Update mongodb-memory-server import in recipe

6b5a71356a2839c8b39ee89763527589957ef44e authored almost 5 years ago by MoppetX <[email protected]>
Change casing in endpoint testing example

641c52f2ce7c043c434bdb079b8857e4acc942a9 authored almost 5 years ago by Alex Dransfield <[email protected]>
TAP: Report hook failures as test failures

Reporting them as comments mean they're not necessarily picked up by TAP parsers. Fixes #2237.

11c13da8f1dad8312d1ec98715220ee6257eedb0 authored almost 5 years ago by grnch <[email protected]>
Bump dependencies

* Upgrade source-map-support and impacted tests

* Update dev dependencies

* Update regular...

a69e63578b9cd2b0b74d656a666bbad260a88680 authored almost 5 years ago by Mark Wubben <[email protected]>
Remove iron-node mentions

f69425ba079b2767375f28386cf62b38b8e8d0fd authored almost 5 years ago by Mark Wubben <[email protected]>
Remove Travis, test with latest npm, test Node.js 13

37206e7e268e285da39a73cfd6417fd08f3ed119 authored almost 5 years ago by Mark Wubben <[email protected]>
Use @ava/babel

3875001af86a608ef681aecfbf7c23d2cedba9dd authored almost 5 years ago by Mark Wubben <[email protected]>
Update maintaining.md

7a668a63b19efdd1b6658eda404a1e5f06d9aa17 authored almost 5 years ago by Mark Wubben <[email protected]>
Require latest Node.js releases whenever we do a major release

ed32b8138c4e8e23bbe75ce7c945a4b5afffe1eb authored almost 5 years ago by Mark Wubben <[email protected]>
Update examples of odd-numbered Node.js versions

525dc66e8f74dd01054ed59029e555c788156a2f authored almost 5 years ago by Mark Wubben <[email protected]>
Remove obsolete note from support statement

981e54afbc6dfd2ba02f8b4d1c81c1230a1acc45 authored almost 5 years ago by Mark Wubben <[email protected]>
Refactor Babel integration to prepare for extraction

Prepare `lib/babel.js` which we'll extract into @ava/babel. There's an
integration protocol whic...

20f86d683cb10b43d88681a1904ad2c57c0a856b authored about 5 years ago by Mark Wubben <[email protected]>
Fix typo in the docs for writing tests (#2265)

7b54317b5cf2d4a849fe784a1b946f5c2159be8e authored about 5 years ago by Heath Naylor <[email protected]>
Loosen matches for import syntax errors

dc2c4efa066958c3a630182120227a81e77f0aae authored about 5 years ago by Mark Wubben <[email protected]>
Print experiments warning in CLI file, not reporters

2c3bb0c40b1a927ec4f21e8ba7623f7facd7cbaa authored about 5 years ago by Mark Wubben <[email protected]>
Experimentally disable Babel out of the box

1bcaaa4e6eca3cb9a31b7e4c7ce0a4ba40611e7d authored about 5 years ago by Mark Wubben <[email protected]>
Indent fatal CLI startup errors

ef39793e556017ddb82ca579d2b6d41cedf9c6e3 authored about 5 years ago by Mark Wubben <[email protected]>
Document module path mapping in TypeScript recipe

7c535b2fe8b33611cf5f280148d47c474c53ed30 authored about 5 years ago by tymfear <[email protected]>
2.4.0

05f077e805bd1b3d58aa1e539d7e1e6a3f5c7042 authored about 5 years ago by Mark Wubben <[email protected]>
Bump dependencies

ca4eff74ae715ced49310ce7b40514df9a28eec2 authored about 5 years ago by Mark Wubben <[email protected]>
Update endpoint testing recipe to focus on the concept, not libraries

67e4deac2857503e5fac7d38da2d23014eb29724 authored about 5 years ago by Anton Harniakou <[email protected]>