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
5d48c953e5915064adbb9e3222c441833ffdf9fb authored 11 months ago
Fixes #3312
be5000aac1f7d0e9c44b3beecfb43938dabbd64c authored 11 months ago* Upgrade xo to v0.57.0 and lint sources, tests, and examples
Disabled `unicorn/prevent-abbre...
1d62caf585594a0a73b368fcfe71a84bd80f86b9 authored 11 months ago2e0c2b1cef779e1c092eb60f0a9558bb9cf4c848 authored about 1 year ago
5161bf77d4cd5ae2fcfd8882177e7d4a4660a9f8 authored about 1 year ago
The counters used absolute paths for the test files, but the clearing logic used relative paths....
db0fdb2925cb71b6981316b08d843cc74ff10f4a authored about 1 year agoVary the snapshots by minor version were appropriate.
15dddf3ff5407b6941cf320bcb60720ac4d24a9c authored about 1 year ago735bf4172a1618d3f843eb97a68bf454aac6a329 authored about 1 year ago
aae39b20ba3ef80e5bedb1e5882432a3cd7c44eb authored about 1 year ago
c3e2c72e0a99738cf4720027243de98ce5bb2d69 authored about 1 year ago
It prints the error, so it should fail as such.
cc8b8397247a843a178cf732274823b13787c1f6 authored about 1 year agoRegister a function to be called when AVA has completed a test run without uncaught exceptions o...
0a050243ea13df959e6c1536b2513b5fe3557690 authored about 1 year agoDon't emit the 'touched-files' event, since the watcher assumes that comes with a files value.
...
35f6c86bcddcd251910775f13c52aded6bbed4e5 authored about 1 year agoAlways await the last pending state when the watch runs have completed.
Use a teardown hook to ...
70a6e257b35d3aab46d5159e611fb4a33ae172f6 authored about 1 year agofde8671abdb729e9d7e7a3e29aeaa01937e8611a authored about 1 year ago
Otherwise, on Linux, it seems the abort signal is disregarded.
808a5613c960c8470522147aa0c82f31439a0445 authored about 1 year agoThese tests are more likely to be flaky on Mac and Windows.
783f62b94df69f388b4ae773fbde0a84f06671e2 authored about 1 year ago* Remove obsolete recipes
ES modules is supported out of the box.
The React recipe applies...
9f3bf7e4d3e32f212aa45dc2f5899f24462721d8 authored about 1 year ago316ffe12cfa29a893fb721403caee6cb62a264f4 authored about 1 year ago
5975b602b771e0dc02382d24b65c5561bd5fc7ee authored about 1 year ago
Somewhere between developing the watch mode and adding test coverage, a mechanism was introduced...
32f282fc2163f9088803995536c2b461594e0d66 authored about 1 year agocf7a2886bf2717cbb599d195279501be703998de authored about 1 year ago
Fixes #1718.
With worker threads, this seems to stop AVA from detecting that the thread has e...
af5684dff58a79da862fa57fad0e946985f730a2 authored about 1 year ago* Update dependencies
* Ignore snapshot fixture due to churn
* Remove errant log
* Upda...
88e433376a03e70ab5f9f3e7ed081f35708c99de authored about 1 year ago* Clarify why we've posted the Ukraine war CTA and remove the third-party banner
* Remove Twi...
cac1d1fe643865b31e42913988ca09f3d2017913 authored about 1 year agoThe assertion message is different, which requires more creativity with the snapshots.
0492d32863cda8aac032a45a3c29b56b47ba3b63 authored about 1 year agoAdd a new `observeRunsFromConfig` experiment, which allows a test run to be observed by a functi...
adbfcde981df1563a9c3ba7feb28516d00821470 authored about 1 year ago6790d50202cded442e80b1bd4316ec62ea852586 authored about 1 year ago
When I first retained the AVA 5 logic, it was under the assumption AVA 6 would be released in th...
e07179bf4a238d5dd258e94f51fe92afe9dff08b authored about 1 year ago
* Update dependencies
* Rely on Node.js 18 language features
* Other small changes
* Upgrade ...
* Drop support for Node.js 16
* Change expected Node.js 18 to 18.18
* Change expected Node.js ...
Fixes #3201.
Assertions now throw a `TestFailure` error when they fail. This error is not expor...
b6fbd5847a5d460e9ce435ab52fde91ba1bd287a authored over 1 year agoc792f1048a0974f96d11b354358330179c26eaa1 authored over 1 year ago
0d7bbd5ea4ebe82cd16edbe2aed13f81447a1c01 authored over 1 year ago
Fixes #2517.
Co-authored-by: Mark Wubben <[email protected]>
e81f413f5ad9d64ec97c8bea81ecafea0240178e authored over 1 year agoThis commit simplifies error serialization, relying on the advanced IPC for child processes & wo...
4c5b46981aabeb14196b64dbff148be90c7def30 authored over 1 year agoCo-authored-by: Sindre Sorhus <[email protected]>
e27183a9e8f6bb5ea12936f133796846af945154 authored over 1 year ago* Track worker errors. They're not native due to https://github.com/nodejs/node/issues/48716, bu...
e58f466cc0a336a0835c9a6cc67181e25e1985b7 authored over 1 year agof2726f18880ccec381aeaa6c2397f21b2172b36a authored over 1 year ago
f047694d86a8ee7af2e998baf28812770e9ea71e authored over 1 year ago
Looks like the patch is included in all supported Node.js versions.
75330201a74c68b6b29ef09f7867644130747f85 authored over 1 year ago10e2e8a35a07b7e38410d90ff763e75b0577edad authored over 1 year ago
This used to work⦠but didn't for the new timout tests.
5a9a6271c01931bedd6cb2af82b4f96cc1b11796 authored over 1 year agoThis helped recording coverage when testing AVA itself, but hopefully it also helps user projects.
6ca0f1c6fb87b5ca854647072588ad1a62a346fb authored over 1 year ago018d64f046171179f787696cdd911db515e677fe authored over 1 year ago
abd43d1f8e2477e42978845aa0f7623915cf23d1 authored over 1 year ago
XO isn't ready for this but it works, just some warnings locally during npm install.
e24cdb6eb8d4ede98cd7c5eec0081c878b21088f authored over 1 year agoa6951cc3abba60728c55d88e1283743fb34d7e27 authored over 1 year ago
1c66194612dd27428f758fb1c1551d43f16edbfb authored over 1 year ago
e5f19d9fc2ff04cbde94c72d650cb6773745dc30 authored over 1 year ago
3ec061779f0df6e8108042ebce89b1bb6d7cbf83 authored over 1 year ago
Restrict @ava/typescript to the ava-3.2 protocol, since the legacy code is not compatible with t...
13f7451fd42e3cee33cdb9d7541d21edbfcda32e authored over 1 year agoc0b0d7bbb33154f4e662bf3eb4613f854e0e2f5d authored over 1 year ago
Rely on recursive fs.watch(), rather than Chokidar. On Linux this is supported from Node.js 20 o...
4f52a9f1d30317a34826aa6e742e9c27cd683dfb authored over 1 year ago
* Run tests on macOS
* Use Bash shell
* Run watch mode test separately and serially
* Remove undocumented ability to start watch mode via the config. Require the CLI flag instead
*...
* Allow loading of ES modules
* Automatically invoke the default export (if any) and await the ...
* Remove get-stream dependency
* Remove delay dependency
* Remove fs-extra
* Remove temp-write
* Use Object.hasOwn() instead of Reflect.has()
* Use Object.hasOwn() over Object.prototype.hasOw...
1fff08d8b4f883f4ed080be9ea83a322411f8e13 authored over 1 year ago
Require the latest versions with new features.
8f1d308a293fd885f595854d77f766d91ddac1d7 authored over 1 year ago583b51392f1f95065d327fc812404a6047700a20 authored over 1 year ago
306e37c3d87e711a0a6f548b5efcb22fb424925d authored over 1 year ago
The previous implementation tracked each object, even if not circular. Update to use a stack.
...
63987725957114ea92dab430b7795ecc649ff107 authored over 1 year agoFixes #3208
Co-authored-by: Mark Wubben <[email protected]>
c988e2740046dafd7fc41c99b81eb31320c21305 authored over 1 year ago568fe40c987dd6c593dfbcf4144d1d1627955d46 authored over 1 year ago
* Test against [email protected]
* Default to Node.js 20
* Upgrade XO
* Add reporter logs ...
784ca4c381829cfc8be8d6b87a6d9c5fb7b11001 authored over 1 year agoCo-authored-by: Mark Wubben <[email protected]>
555836793ca783cc3776ebda61e4405153221f89 authored over 1 year agoCo-authored-by: Mark Wubben <[email protected]>
faa965474dff85e57b84b6870277d0dcee8798f2 authored over 1 year agoCo-authored-by: Mark Wubben <[email protected]>
d7c612047a8ce039c82fae030bb49ddad18ea8e3 authored over 1 year ago
* Update typescript recipe to use the tsx loader;
* Remove ts-node references; strongly advocat...
Run tests against newly released node v20
5bf01a32db1cf1dc266399adfe5e206881c54068 authored almost 2 years ago0574e5e6d7959b7dc506cb2204f432f73ba39451 authored almost 2 years ago
1c567642a31d4bc24c4421ba520b02e25ce7363a authored almost 2 years ago
38593a7aca7801fb722bab1abc4cbe157f6c1af5 authored almost 2 years ago
1353b08ae5c3be0af96d2197e593be12f9eaab6b authored almost 2 years ago
75596139a98d4b4fb4e8a6bba03963fa0904ac23 authored almost 2 years ago
(And update the sample version number because why not.)
841526144eb5529d057cb8b390a0b3bad0dda5eb authored about 2 years agoc74934853db1d387c46ed1f953970c777feed6a0 authored about 2 years ago
* Upgrade XO and reformat
* Update dev dependencies
* Test with TypeScript 4.9
* Update...
da3d2bcffbad0fe51c83220bb1e587b7b80d1707 authored about 2 years agoCo-authored-by: Mark Wubben <[email protected]>
ffed9483195dc821f6a35b6a24ac8af6e6e33cb3 authored about 2 years agoThis should prevent the main process from exiting prematurely with a 0 exit code. See background...
639b9050a6860f83861ba00e27099f3bec7915bf authored about 2 years ago4ecfe7d822785c800f80bbcc2b4b3460f339a84e authored about 2 years ago
* Update dev dependencies
* Update dependencies
* Rebuild package-lock
609b307a2ed50e9ce33a21eee50fba09b3cf00f9 authored about 2 years agoCo-authored-by: Mark Wubben <[email protected]>
647d3e15305ae5fdfccf3009fdd1ef18a82af6a1 authored about 2 years ago92069280a229477a733f7ce597075045a8d0fb2b authored about 2 years ago
136dde36f854c1c58c64f73e6f529732cacfea52 authored about 2 years ago
7007f13411cb476d134a161d46c5d0185c1495c0 authored over 2 years ago
* Upgrade to TypeScript 4.8. Keep testing with 4.7 to ensure backwards compatibility.
* Update ...
Add shims for TypeScript's 'node' module resolution algorithm. The exports map is only used with...
3ebe65cbebcba4992106d94da3df2f497a4f0eb1 authored over 2 years ago2d3f39404d0f6c66d174df6e4955b0d1a672e0fa authored over 2 years ago
Co-authored-by: creestor <[email protected]>
Co-authored-by: Mark Wubben <mark@novembe...
d84dbc1c8ce9ba9138530f32550d99d3c963de50 authored over 2 years ago
* Explain diff gutter symbols. Fixes #1558
* Add test result labels. Color covers figure and la...
This ensures AVA exits with code 1 if any timeout occurs, even if there were no pending tests.
...
Fixes #861.
Co-authored-by: Mark Wubben <[email protected]>
ea597d86137b6fe47ed56ccb29b1b1108bd6e9f9 authored over 2 years ago`os.cpus()` can return empty arrays on platforms not officially supported by Node.js. Use 1 as a...
4b03662cbc349f94d74989a8d500113d620d2445 authored over 2 years agoExclude Acorn stack traces from reporter logs.
Export types not interfaces.
02f626f529288414fc9a5d8fc148365fab0f5362 authored over 2 years ago14061be6be828f13d27e66e7f6942a37fbecc61e authored over 2 years ago
7c48c4d9190fe95eb37408fb8c871a446c622e08 authored over 2 years ago