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

Update all the things

* Test lockfile using npm 7.23

* Workflow updates

* Update codecov action
* Cache npm dep...

e8a497696a7c0f46d92c52770dbc34b70ee493fc authored over 3 years ago
Remove trim-off-newlines

Concordance-formatted text shouldn't have newlines at the start or end.
I'm not sure about power...

e96b82dded9001319b194d4b2a29138d7d455e0b authored over 3 years ago
Match name of debug task to current VSCode

725c5d6241b3df63c030a826ab86acba6b9f1d67 authored over 3 years ago
Return undefined when throws assertions fail

dc93f372e6a1af5f3ec4b90329d63e2f1e20e4a3 authored over 3 years ago
Clarify caching

ddda6ede8060e7532a84938c6313e620747d5c32 authored over 3 years ago
Updated list of related projects

a87460acf570a1d6080f35f0ecf2ccb1cac476b9 authored over 3 years ago
Add StackBlitz examples for TypeScript

a8981540100653d99d1fe9476737751eeae50b33 authored over 3 years ago
Add StackBlitz example for test timeouts

58150a0c9e336e4b96715532685e7860a01c6160 authored over 3 years ago
Add StackBlitz example endpoint testing

9a106dd42214e64c5f5f7799f229b4fc37e957eb authored over 3 years ago
Add StackBlitz examples for command line documentation

0d5860f08b00aa32d89157e0ee5d84279f557c28 authored over 3 years ago
Return null when throws() and throwsAsync() assertions fail

Make the behavior explicit in the documentation and type definition.

dd997f827d2266d471991c4f4eb4bdec1ff14cd5 authored over 3 years ago
Add test for implementation result types

fe12bd4cb1ab81c592a77cd71f084d487ff0e166 authored over 3 years ago
Update type definitions to disallow null throws expectations

The implemenation already fails the assertion when null is provided.

b237d33e33358c58f738df741522df5a416b41e7 authored over 3 years ago
Change constructor type for instanceOf expectation

It should result in an error.

a8cbfb7229b3a5c5e5b39892bf40c900dd489ef3 authored over 3 years ago
Add test for context covariance

Fixes #2253 which no longer seems reproducible.

4d8262b8c36019f179b33fadf44a8b0a216457d7 authored over 3 years ago
Change implementation argument type constraint to unknown

This mostly impacts macros, for which we'd want to encourage explicit types.

8efb9d149d44d815d14e3cb45723f5ee0afa9746 authored over 3 years ago
Refactor type definition

* Split across multiple files.

* Rename types, most noticeably `TestInterface` is now `TestFn`,...

4b4b2f63f184056b4038dfc692f99421038d3ec1 authored over 3 years ago
Add test.macro(), change how macros are typed

Fixes #2189. `test.macro()` returns an object that can be used with
`test()` and hooks. The `t.c...

fadc6c8a5249e912d0039404e34ab4346a36c025 authored over 3 years ago
Remove support for passing multiple test implementations

This affects test() and t.try().

Supporting multiple implementations made both the implementati...

d7c2b90ae4924bde4442d48ea05f36c9589990ad authored over 3 years ago
Remove support for the AVA 3.0 provider protocol

59b035125a2b0aa98cfa23f8d2e965b3598d5221 authored over 3 years ago
Always use verbose reporter

0a6e2df467f35256bbf9d855a4cc9ebda0646909 authored over 3 years ago
Normalize test titles

Fixes #2774.

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

bd0ef39b441336201274afb23f2198a60f38e629 authored over 3 years ago
Add StackBlitz example for macros

4d3e22038809fec40b2a9ba11a6b2b9d85b58f49 authored over 3 years ago
Attempt to workaround worker thread termination crash

See discussion in https://github.com/nodejs/node/issues/38418

074373ce559acb274cd73c707a4a2882e755f63c authored over 3 years ago
Fix runner test

c1c7edbe79e90c25d7dfa2c9e096649650dde31b authored over 3 years ago
Remove `update-notifier` dependency

fbbacb6ec842f96faf547b9abcdc05a53004266f authored over 3 years ago
Support multiline snapshot labels

Fixes #2769.

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

1d92b78964bb23528952e0f60ad37d97a4bf8d08 authored over 3 years ago
Change test.meta properties to be file URLs

58cf24809f0c4f6213d5e34c34b6c080c3747563 authored over 3 years ago
Run self-hosted tests first

11aaf2aab142dbd6653931d2b029910863a44762 authored over 3 years ago
Have the global timeout take into account t.timeout() durations

Fixes #2384.

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

35994d497e39c0637d3d51964700c271aa559d15 authored over 3 years ago
Detect more forms of snapshot file corruption

a8c908e2ab9deccd3383b311d988a1e88ff3d189 authored over 3 years ago
Switch to ESM for internals

* Extract glob helpers that are needed in a CJS environment

* Ensure ava/plugin works in a CJ...

c57067bfb69a9b685ea2b33624dee204ad369164 authored over 3 years ago
Improve callsite handling

Fixes #2744.

b8f5685ed5b828de884d0d72c988efe837058692 authored almost 4 years ago
Update dependencies

* Bump dev dependencies

* Bump dependencies

* Upgrade XO and reformat

e9a69dca44dadb545d4698fb7df5587da2787f7d authored almost 4 years ago
Update supported Node.js versions

* Drop Node.js 15 support

* Require at least Node.js 12.22

* Test package-lock modificatio...

9a9a5d466d5779f255f6eeb2f2d9f26994b7db0b authored almost 4 years ago
4.0.0-alpha.2

97525a97c0f1e1fc609c980f6a4e66758c26480a authored almost 4 years ago
Make shared workers available in worker threads only

Now that AVA runs test files in worker threads, it makes sense for _shared_ workers to only be a...

bdf2cf07e8010820a600cbc8f005be3715239e07 authored almost 4 years ago
Remove --preserve-symlink and npm link detection

This is old and untested. I don't know if it's still relevant. We could always bring it back.

eef1a55584307533b6b82b17e8edde47b5eb9fb3 authored almost 4 years ago
Correctly resolve ESLint plugin helper worker path

000c42e6bc5781eb15c5fa7399d6ae65d2d5c2b2 authored almost 4 years ago
Time out ESLint config resolution after 10 seconds

Errors are obscured by our use of Atomics. Time out after 10 seconds to not block ESLint indefin...

3aac5e8feb2ac58edcb675da58d396fd702e44f4 authored almost 4 years ago
Remove import-local

We no longer expect AVA to be installed globally. import-local was
written for CJS and is unlike...

1ee1e82678a9a2024d2635a9adeb8f14d98669f8 authored almost 4 years ago
Explicit and separate CJS and ESM entrypoints

Fixes #2671.

AVA now only has a default export: the test() function.

5e0844452fb919bbd5253fe7435fe1d69f5751d5 authored almost 4 years ago
Assume test files import the correct AVA installation

These workarounds are too tricky to support with ESM entrypoints.

cc4e622903d5370682c0a00cb2c2b634d388ae6b authored almost 4 years ago
4.0.0-alpha.1

f5b970cca61c89c98e816099cb008abfdde5a4e2 authored almost 4 years ago
Update dependencies and such

* Update dev dependencies

* Test with TypeScript 4.2

* Upgrade to XO 0.38

* Update depe...

9cedc9770d5ac2a75c88f7f3b81c263c88989332 authored almost 4 years ago
Scheduler follow-up

* Write synchronously and ignore errors
* Change filename
* Fix integration test

c5bada9b494d73d47763afdff6ed462e963f479e authored almost 4 years ago
Schedule previously failing tests to run first

Fixes #1546.

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

d7426720ad55ba387d86aaae3a3af06a8020c761 authored almost 4 years ago
Remove Flow recipe

No point keeping it up to date.

2eebb60f1771ecc0d3af4035d905f91f15f1c4d7 authored almost 4 years ago
Remove test.cb()

Fixes #2387.

8571b2a7f7ebfefcdc014e7a43b6c874b765b722 authored almost 4 years ago
Introducing AVA snapshots v3

The v3 format is encoded using CBOR. It contains all information necessary to regenerate the rep...

14ec281dd6d71d46cf2b755e7451262dab6cbc64 authored almost 4 years ago
Update suggested AVA invocation in watch mode recipe

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

cbec4cb03eb7a58e4bc9f0c3f9c55b48a2477811 authored almost 4 years ago
Improve TypeScript recipe for ESM and ts-node usage

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

a0791529c18394d92224232cf9d1696426ada505 authored almost 4 years ago
Snapshot assertions do not return booleans

61ded90ce3a9217133cbe8409c3b52dd2934070c authored almost 4 years ago
Run test files in worker threads

Add `--worker-threads` to use worker_threads to run tests. By default
the option is enabled.

...

0e5cc7dc2b1512d0abe9bfba57b26888eedea0cf authored almost 4 years ago
Turn assertions into type guards

Update the `deepEqual`, `like`, `false`, `true` and `is` assertions so
they can be used as type ...

5eea60836402ff0ca052cf1d017deabdf8a6fb36 authored almost 4 years ago
Return booleans indicating whether assertions passed

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

72a4e2fd4c931b13354ad9d10149c383b4ca48b3 authored almost 4 years ago
Remove support for snapshot IDs

d8b1e89e6e8b88e1582cf02f4cf088c87c2e058f authored almost 4 years ago
Add Babel and TypeScript provider packages as optional peer dependencies

242668577fdb0be59f0d043292785d3a8e002e17 authored almost 4 years ago
ES Modules are no longer experimental since Node.js 12.17

5b76b0b6ca73e52500c84aec09c362743bf0775f authored almost 4 years ago
No need to detect ESM support

a7faa3ebff3a8c99cd2b41d5809262a7f1de9ec5 authored almost 4 years ago
Remove support for the esm package

2011b92b638df42b4d050a19e9b37cbb19659970 authored almost 4 years ago
Document that concurrency can be configured in the config files

6cb0944e5250bcff24846a260c748948171a0f08 authored almost 4 years ago
Upgrade XO and apply fixes

69fbe058948eac8f37140f25a949ce172d64f607 authored about 4 years ago
Update dependencies

8ed86e68ca7e1e4007e6d2c9ac7270b605aea200 authored about 4 years ago
Teardowns run in reverse order

Fixes #2516.

dc4483f440fe8736ff71226fd8b18c0e2cc86f51 authored about 4 years ago
Remove built-in React support

To be provided through a plugin instead.

26999c4cca86b2f50343af2cb14834144c722297 authored about 4 years ago
Disallow null expectations for throws() and throwsAsync() assertions

Fixes #2410.

7f64f5c834e8fab29f4778705ee05b2a81867879 authored about 4 years ago
Enable configurable module format

f7cb1c7b038eba017bd77fc93d9921b1db962174 authored about 4 years ago
Land ESM-based config support without requiring opt-in

c7b782098dbaeaacfd671c12ffc5100bfb7be75d authored about 4 years ago
snapshot() assertion no longer works in hooks

Fixes #2534.

bcb750c1551cca380a0003ebc8f66987a6b16d6c authored about 4 years ago
Use npm@7

022d3a96c635d4adf0b7fb89f0aaa776293061ce authored about 4 years ago
Target Node.js 12.20, 14.15 and 15

5dd22c96324f527260840e26fce8100d9a37a309 authored about 4 years ago
Use main branch

41e9473a0160bdd7dc90e33e1e3e04a9885d77df authored about 4 years ago
Test against TypeScript 4.1, not any older version

6429581eb57232839895b6d727b32ae0dc4e12af authored about 4 years ago
Update endpoint testing with Mongoose recipe

`getConnectionString` is deprecated in newer versions, use `getUri` instead.

b6a3cb723cefe34f816f958ede7b78a1fc796b2a authored about 4 years ago
Fix link to Discussions in issue template

378f605f26c6d290918a3817d950b6a6370f2a18 authored about 4 years ago
3.15.0

32c5425353cc58422f0a196bb0c06a4095a33825 authored about 4 years ago
Update dependencies

* Update dev dependencies

* Update dependencies

* Validate lockfile using npm 6.14.10

*...

0f69088c02006247b54cd545806993db00720979 authored about 4 years ago
Next-generation configuration loading

* When worker threads are available, support asynchronous configuration loading in the ESLint pl...

a2f2614cc1e34fb9a7aa204b37b3b25559f203d9 authored about 4 years ago
Housekeeping

* Advertise GitHub Discussions
* Update issue template
* Remove badges from readme
* Avoid li...

711bcf268cb40ec21b967bef4d0927f9de1a71ac authored about 4 years ago
Remove snapshot files when a test file stops using snapshots

Fixes #1424.

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

4f093abf7f14596f0acecb4ebe5627cce523d5a2 authored about 4 years ago
Fix timeout reporting in TAP reporter

Fixes #2612

Co-authored-by: Daudov, Tymur <[email protected]>

98595dae58209a9062d0238c7a3dd7078a9962d1 authored about 4 years ago
Only create the cache directory when needed (#2628)

Avoid potential permission issues if we don't use the cache dir anyway,
see <https://github.com...

3fe4c40f09fd8eef74ea998992a756525fca7b9f authored about 4 years ago
Upgrade supertap and print `t.log` entries according to TAP diagnostics spec

Co-authored-by: Daudov, Tymur <[email protected]>
Co-authored-by: Mark Wubben <mark@nov...

99ab93ada750ef27fa05a0cee7fcf709a4125996 authored about 4 years ago
3.14.0

5d3b2006111a91253e0f7474ae278e41c1240820 authored about 4 years ago
Update dependencies

* Update dependencies

* Rebuild package-lock

9b2bd5f7d5435050beb8fe150b8f9dae899cb5ff authored about 4 years ago
Deterministic snapshot files, declaration-ordered snapshot reports

Ensures that *.snap files are deterministic by sorting entry blocks by the hash of their test na...

e66b54ce61d8bb16bbcd15b7fb90893d02e5a65c authored about 4 years ago
Update dependencies & fix reporter tests

* Fix reporter tests under Node.js 15

Fixes #2616.

* Update dev dependencies

* Update X...

73015e57f6447fed0135355f2a9cf5b126675454 authored about 4 years ago
Document shared workers

09c5568d4268e6e4a382bbb3a956a52c44a5bf94 authored over 4 years ago
Test with Node.js 15

c3e43bf636ed13753a2135752d7138ddbd16a0a1 authored over 4 years ago
Remove link to avacasts

dcd583171e30b92469e5bb6a387da5711703ad06 authored over 4 years ago
shared-workers: Don't warn when too many message listeners are added

Each test process using the shared worker will add a listener. There
could be more than 10 proce...

b71f396df7b9d74ef24262b6840df1593cad3798 authored over 4 years ago
3.13.0

fd4da2f280679eb5fdb903bac17b2cb4431773b6 authored over 4 years ago
Improve TypeScript recipe

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

a3379fad3893468309a43b4b56d290f94933f082 authored over 4 years ago
Update dependencies

* Update dev dependencies

* Update dependencies

* Rebuild lockfile

df216e3649c4461f680e8daf296f32f14f04f7b5 authored over 4 years ago
Experimentally implement shared workers

512454704d981d06e97276c6568b615f79c0b8ad authored over 4 years ago
Tweak reporter integration tests

Maybe it's the IPC changes, but they started to fail on Windows.

759c3fa7cf7dd1b3b10348b6b48bf1298169231d authored over 4 years ago
Implement flow-control for test worker IPC

dc83c39a10e195279735892f591fc43c7f74d27f authored over 4 years ago
Clean-up in lib/fork.js

ba4f426b11e7c35627d6dc4d6f3da1d93608a1ad authored over 4 years ago
Experimentally disable null expectations for throws assertions

f328a6933af7aca221b08f694bb14b03701eca68 authored over 4 years ago