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

6.1.2

5d48c953e5915064adbb9e3222c441833ffdf9fb authored 8 months ago by Mark Wubben <[email protected]>
Fix throws assertions rejecting falsy values when any: true

Fixes #3312

be5000aac1f7d0e9c44b3beecfb43938dabbd64c authored 8 months ago by Richard Gibson <[email protected]>
Upgrade xo to v0.57.0

* Upgrade xo to v0.57.0 and lint sources, tests, and examples

Disabled `unicorn/prevent-abbre...

1d62caf585594a0a73b368fcfe71a84bd80f86b9 authored 8 months ago by Notas Hellout <[email protected]>
6.1.1

2e0c2b1cef779e1c092eb60f0a9558bb9cf4c848 authored 9 months ago by Mark Wubben <[email protected]>
Update dependencies

5161bf77d4cd5ae2fcfd8882177e7d4a4660a9f8 authored 9 months ago by Mark Wubben <[email protected]>
Fix 'previous failures' in watch mode always incrementing

The counters used absolute paths for the test files, but the clearing logic used relative paths....

db0fdb2925cb71b6981316b08d843cc74ff10f4a authored 9 months ago by Mark Wubben <[email protected]>
Fix external-assertions snapshot for Node.js 20.11

Vary the snapshots by minor version were appropriate.

15dddf3ff5407b6941cf320bcb60720ac4d24a9c authored 9 months ago by Mark Wubben <[email protected]>
Update TypeScript recipe to suggest --import flag and tsimp

735bf4172a1618d3f843eb97a68bf454aac6a329 authored 9 months ago by Tommy <[email protected]>
6.1.0

aae39b20ba3ef80e5bedb1e5882432a3cd7c44eb authored 9 months ago by Mark Wubben <[email protected]>
Fix ava/internal ESM type module

c3e2c72e0a99738cf4720027243de98ce5bb2d69 authored 9 months ago by Max Isom <[email protected]>
Ensure AVA exits with code 1 after an unexpected process.exit() in a test worker

It prints the error, so it should fail as such.

cc8b8397247a843a178cf732274823b13787c1f6 authored 9 months ago by Mark Wubben <[email protected]>
Implement registerCompletionHandler()

Register a function to be called when AVA has completed a test run without uncaught exceptions o...

0a050243ea13df959e6c1536b2513b5fe3557690 authored 9 months ago by Mark Wubben <[email protected]>
Fix potential bug with watch mode when no failed test files are written

Don't emit the 'touched-files' event, since the watcher assumes that comes with a files value.

...

35f6c86bcddcd251910775f13c52aded6bbed4e5 authored 9 months ago by Mark Wubben <[email protected]>
Ensure watcher tests exit cleanly

Always await the last pending state when the watch runs have completed.

Use a teardown hook to ...

70a6e257b35d3aab46d5159e611fb4a33ae172f6 authored 9 months ago by Mark Wubben <[email protected]>
Test with AVA 6

fde8671abdb729e9d7e7a3e29aeaa01937e8611a authored 9 months ago by Mark Wubben <[email protected]>
Change recursive watch mode test detection to be non-persistent

Otherwise, on Linux, it seems the abort signal is disregarded.

808a5613c960c8470522147aa0c82f31439a0445 authored 9 months ago by Mark Wubben <[email protected]>
Only test reporters on Linux (CI)

These tests are more likely to be flaky on Mac and Windows.

783f62b94df69f388b4ae773fbde0a84f06671e2 authored 10 months ago by Mark Wubben <[email protected]>
Remove references to older AVA versions

* Remove obsolete recipes

ES modules is supported out of the box.

The React recipe applies...

9f3bf7e4d3e32f212aa45dc2f5899f24462721d8 authored 10 months ago by Mark Wubben <[email protected]>
Fix typo in README

316ffe12cfa29a893fb721403caee6cb62a264f4 authored 10 months ago by Christian Rackerseder <[email protected]>
6.0.1

5975b602b771e0dc02382d24b65c5561bd5fc7ee authored 11 months ago by Mark Wubben <[email protected]>
Ensure watch mode works outside of its integration tests

Somewhere between developing the watch mode and adding test coverage, a mechanism was introduced...

32f282fc2163f9088803995536c2b461594e0d66 authored 11 months ago by Mark Wubben <[email protected]>
6.0.0

cf7a2886bf2717cbb599d195279501be703998de authored 11 months ago by Mark Wubben <[email protected]>
Don't force-exit after tests have completed

Fixes #1718.

With worker threads, this seems to stop AVA from detecting that the thread has e...

af5684dff58a79da862fa57fad0e946985f730a2 authored 11 months ago by Mark Wubben <[email protected]>
Update dependencies & other minor tweaks

* Update dependencies

* Ignore snapshot fixture due to churn

* Remove errant log

* Upda...

88e433376a03e70ab5f9f3e7ed081f35708c99de authored 11 months ago by Mark Wubben <[email protected]>
Tweak README

* Clarify why we've posted the Ukraine war CTA and remove the third-party banner

* Remove Twi...

cac1d1fe643865b31e42913988ca09f3d2017913 authored 11 months ago by Mark Wubben <[email protected]>
Fix external assertions tests for Node.js 21

The assertion message is different, which requires more creativity with the snapshots.

0492d32863cda8aac032a45a3c29b56b47ba3b63 authored 11 months ago by Mark Wubben <[email protected]>
Experimentally expose internal events for custom reporters

Add a new `observeRunsFromConfig` experiment, which allows a test run to be observed by a functi...

adbfcde981df1563a9c3ba7feb28516d00821470 authored 11 months ago by Max Isom <[email protected]>
Update memoize dependency

6790d50202cded442e80b1bd4316ec62ea852586 authored 11 months ago by Sindre Sorhus <[email protected]>
Remove ability to select AVA 5 watcher

When I first retained the AVA 5 logic, it was under the assumption AVA 6 would be released in th...

e07179bf4a238d5dd258e94f51fe92afe9dff08b authored 12 months ago by Mark Wubben <[email protected]>
Update dependencies, rely on Node.js 18, other small changes

* Update dependencies
* Rely on Node.js 18 language features
* Other small changes
* Upgrade ...

cf0fa4ce5a724798d6e23d4f5dfcb4a33c83345a authored 12 months ago by Sindre Sorhus <[email protected]>
Drop Node.js 16, upgrade minimal 18 and 20, test 21

* Drop support for Node.js 16
* Change expected Node.js 18 to 18.18
* Change expected Node.js ...

03a6723a11ce8da49df6fa5f6f06244885c097f0 authored 12 months ago by Mark Wubben <[email protected]>
Make assertions throw

Fixes #3201.

Assertions now throw a `TestFailure` error when they fail. This error is not expor...

b6fbd5847a5d460e9ce435ab52fde91ba1bd287a authored 12 months ago by Mark Wubben <[email protected]>
Fix type tests for t.assert()

c792f1048a0974f96d11b354358330179c26eaa1 authored 12 months ago by Mark Wubben <[email protected]>
Fix typo in common pitfalls doc

0d7bbd5ea4ebe82cd16edbe2aed13f81447a1c01 authored about 1 year ago by Bryan Ricker <[email protected]>
Allow throws / throwsAsync to work with any value, not just errors

Fixes #2517.

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

e81f413f5ad9d64ec97c8bea81ecafea0240178e authored about 1 year ago by Aditya Subramanian <[email protected]>
Refactor error processing

This commit simplifies error serialization, relying on the advanced IPC for child processes & wo...

4c5b46981aabeb14196b64dbff148be90c7def30 authored about 1 year ago by Mark Wubben <[email protected]>
Make `assert`, `truthy` and `falsy` typeguards

Co-authored-by: Sindre Sorhus <[email protected]>

e27183a9e8f6bb5ea12936f133796846af945154 authored about 1 year ago by Zachary Haber <[email protected]>
Only treat native errors as errors

* Track worker errors. They're not native due to https://github.com/nodejs/node/issues/48716, bu...

e58f466cc0a336a0835c9a6cc67181e25e1985b7 authored about 1 year ago by Mark Wubben <[email protected]>
Update TypeScript recipe for mocks, Node.js 20

f2726f18880ccec381aeaa6c2397f21b2172b36a authored about 1 year ago by Tommy <[email protected]>
Remove p-event dependency

f047694d86a8ee7af2e998baf28812770e9ea71e authored over 1 year ago by Mark Wubben <[email protected]>
Remove workaround for worker.terminate() crashes

Looks like the patch is included in all supported Node.js versions.

75330201a74c68b6b29ef09f7867644130747f85 authored over 1 year ago by Mark Wubben <[email protected]>
Add t.timeout.clear() to restore default behavior

10e2e8a35a07b7e38410d90ff763e75b0577edad authored over 1 year ago by Mark Wubben <[email protected]>
Make test-types work with tsc and XO

This used to work… but didn't for the new timout tests.

5a9a6271c01931bedd6cb2af82b4f96cc1b11796 authored over 1 year ago by Mark Wubben <[email protected]>
Pro-actively write out code coverage

This helped recording coverage when testing AVA itself, but hopefully it also helps user projects.

6ca0f1c6fb87b5ca854647072588ad1a62a346fb authored over 1 year ago by Mark Wubben <[email protected]>
Test AVA using AVA 5

018d64f046171179f787696cdd911db515e677fe authored over 1 year ago by Mark Wubben <[email protected]>
Update dependencies

abd43d1f8e2477e42978845aa0f7623915cf23d1 authored over 1 year ago by Mark Wubben <[email protected]>
Expect TypeScript 5.1 (or newer)

XO isn't ready for this but it works, just some warnings locally during npm install.

e24cdb6eb8d4ede98cd7c5eec0081c878b21088f authored over 1 year ago by Mark Wubben <[email protected]>
Lazy-load dependencies in CLI entrypoint

a6951cc3abba60728c55d88e1283743fb34d7e27 authored over 1 year ago by Mark Wubben <[email protected]>
Update transitive dependencies

1c66194612dd27428f758fb1c1551d43f16edbfb authored over 1 year ago by Mark Wubben <[email protected]>
Modernize some syntax

e5f19d9fc2ff04cbde94c72d650cb6773745dc30 authored over 1 year ago by Mark Wubben <[email protected]>
Tweak c8 config

3ec061779f0df6e8108042ebce89b1bb6d7cbf83 authored over 1 year ago by Mark Wubben <[email protected]>
Require opt-in to AVA 5's watcher and separate install of chokidar

Restrict @ava/typescript to the ava-3.2 protocol, since the legacy code is not compatible with t...

13f7451fd42e3cee33cdb9d7541d21edbfcda32e authored over 1 year ago by Mark Wubben <[email protected]>
Move ignoredByWatcher to watchMode.ignoreChanges

c0b0d7bbb33154f4e662bf3eb4613f854e0e2f5d authored over 1 year ago by Mark Wubben <[email protected]>
Add a brand new watcher

Rely on recursive fs.watch(), rather than Chokidar. On Linux this is supported from Node.js 20 o...

4f52a9f1d30317a34826aa6e742e9c27cd683dfb authored over 1 year ago by Mark Wubben <[email protected]>
Set up CI to test the new watcher

* Run tests on macOS
* Use Bash shell
* Run watch mode test separately and serially

6cc417bb42fd526d7dd3c142f4264c0fa8c5ab09 authored over 1 year ago by Mark Wubben <[email protected]>
Minor changes to watch mode

* Remove undocumented ability to start watch mode via the config. Require the CLI flag instead
*...

94bb3619f1c3d500809935c551aa7beba53a9913 authored over 1 year ago by Mark Wubben <[email protected]>
Enhance `require` feature

* Allow loading of ES modules
* Automatically invoke the default export (if any) and await the ...

4dc385b486176420778d368e2faca63b3d95038c authored over 1 year ago by BartÅ‚omiej Kalemba <[email protected]>
Remove superfluous dependencies

* Remove get-stream dependency
* Remove delay dependency
* Remove fs-extra
* Remove temp-write

6f62c2d51cb5395de2c2fc21ee329203625762bd authored over 1 year ago by Mark Wubben <[email protected]>
Use ES2022 APIs

* Use Object.hasOwn() instead of Reflect.has()
* Use Object.hasOwn() over Object.prototype.hasOw...

fae3f8734fc8dd93b5d0901ff79e7d65a724de12 authored over 1 year ago by Mark Wubben <[email protected]>
Remove checks against very old config options and related cleanup

1fff08d8b4f883f4ed080be9ea83a322411f8e13 authored over 1 year ago by Mark Wubben <[email protected]>
Drop support for Node.js 14, update minimal requirements for 16, 18 and 20

Require the latest versions with new features.

8f1d308a293fd885f595854d77f766d91ddac1d7 authored over 1 year ago by Mark Wubben <[email protected]>
Document execArgv incompatibility with worker threads

583b51392f1f95065d327fc812404a6047700a20 authored over 1 year ago by Mark Wubben <[email protected]>
5.3.1

306e37c3d87e711a0a6f548b5efcb22fb424925d authored over 1 year ago by Mark Wubben <[email protected]>
Fix circular selector detection in t.like()

The previous implementation tracked each object, even if not circular. Update to use a stack.

...

63987725957114ea92dab430b7795ecc649ff107 authored over 1 year ago by Mark Wubben <[email protected]>
Support Symbol keys and ignore non-enumerable properties in t.like()

Fixes #3208

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

c988e2740046dafd7fc41c99b81eb31320c21305 authored over 1 year ago by Richard Gibson <[email protected]>
5.3.0

568fe40c987dd6c593dfbcf4144d1d1627955d46 authored over 1 year ago by Mark Wubben <[email protected]>
Dependency updates and so forth

* Test against [email protected]

* Default to Node.js 20

* Upgrade XO

* Add reporter logs ...

784ca4c381829cfc8be8d6b87a6d9c5fb7b11001 authored over 1 year ago by Mark Wubben <[email protected]>
Recognize typical assertion errors and use their formatting

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

555836793ca783cc3776ebda61e4405153221f89 authored over 1 year ago by Irven Aelbrecht <[email protected]>
Replace 'del' dependency by built-in recursive fs.rm (#3198)

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

faa965474dff85e57b84b6870277d0dcee8798f2 authored over 1 year ago by Craig Hobbs <[email protected]>
Support arrays in t.like() assertion

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

d7c612047a8ce039c82fae030bb49ddad18ea8e3 authored over 1 year ago by Tommy <[email protected]>
Update TypeScript recipe to remove ts-node recommendation (#3192)

* Update typescript recipe to use the tsx loader;
* Remove ts-node references; strongly advocat...

49e55826c712356292d07f6b0b969559e088f30b authored over 1 year ago by Benjamin Clos <[email protected]>
Add Node.js 20 to test matrix

Run tests against newly released node v20

5bf01a32db1cf1dc266399adfe5e206881c54068 authored over 1 year ago by Florian Vogt <[email protected]>
Add t-node error handling section to TypeScript recipe

0574e5e6d7959b7dc506cb2204f432f73ba39451 authored over 1 year ago by Martynas Žilinskas <[email protected]>
Explicitly configure script name for CLI

1c567642a31d4bc24c4421ba520b02e25ce7363a authored over 1 year ago by Matthew Espino <[email protected]>
Properly end sentence

38593a7aca7801fb722bab1abc4cbe157f6c1af5 authored over 1 year ago by Mark Wubben <[email protected]>
5.2.0

1353b08ae5c3be0af96d2197e593be12f9eaab6b authored over 1 year ago by Mark Wubben <[email protected]>
Infer thrown error from expectations

75596139a98d4b4fb4e8a6bba03963fa0904ac23 authored over 1 year ago by Tao Cumplido <[email protected]>
State that documentation assumes ES modules

(And update the sample version number because why not.)

841526144eb5529d057cb8b390a0b3bad0dda5eb authored over 1 year ago by Mark Wubben <[email protected]>
5.1.1

c74934853db1d387c46ed1f953970c777feed6a0 authored almost 2 years ago by Mark Wubben <[email protected]>
Update dependencies and such

* Upgrade XO and reformat

* Update dev dependencies

* Test with TypeScript 4.9

* Update...

da3d2bcffbad0fe51c83220bb1e587b7b80d1707 authored almost 2 years ago by Mark Wubben <[email protected]>
De-register all shared workers

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

ffed9483195dc821f6a35b6a24ac8af6e6e33cb3 authored almost 2 years ago by Max Isom <[email protected]>
Unref shared worker when all test workers have deregistered

This should prevent the main process from exiting prematurely with a 0 exit code. See background...

639b9050a6860f83861ba00e27099f3bec7915bf authored almost 2 years ago by Max Isom <[email protected]>
5.1.0

4ecfe7d822785c800f80bbcc2b4b3460f339a84e authored almost 2 years ago by Mark Wubben <[email protected]>
Update dependencies

* Update dev dependencies

* Update dependencies

* Rebuild package-lock

609b307a2ed50e9ce33a21eee50fba09b3cf00f9 authored almost 2 years ago by Mark Wubben <[email protected]>
Check for --config file extensions after they fail to load, allowing custom loaders (#3135)

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

647d3e15305ae5fdfccf3009fdd1ef18a82af6a1 authored almost 2 years ago by Filip Skokan <[email protected]>
Output logs for tests that remain pending when AVA exits

92069280a229477a733f7ce597075045a8d0fb2b authored almost 2 years ago by Kevin Tang <[email protected]>
Update reporter logs for latest Node.js 16

136dde36f854c1c58c64f73e6f529732cacfea52 authored almost 2 years ago by Mark Wubben <[email protected]>
5.0.1

7007f13411cb476d134a161d46c5d0185c1495c0 authored about 2 years ago by Mark Wubben <[email protected]>
Update dependencies; more type tweaks

* Upgrade to TypeScript 4.8. Keep testing with 4.7 to ensure backwards compatibility.
* Update ...

48dcafa2b8e37df72270f3ecfc519385f8eede04 authored about 2 years ago by Mark Wubben <[email protected]>
Re-organize types for maximum compatibility

Add shims for TypeScript's 'node' module resolution algorithm. The exports map is only used with...

3ebe65cbebcba4992106d94da3df2f497a4f0eb1 authored about 2 years ago by Mark Wubben <[email protected]>
Update to the browser testing recipe to use jsdom directly

2d3f39404d0f6c66d174df6e4955b0d1a672e0fa authored about 2 years ago by David Vujic <[email protected]>
Cap idle timeouts to the maximum possible value

Co-authored-by: creestor <[email protected]>
Co-authored-by: Mark Wubben <mark@novembe...

52b22700e995eda3fd0f95e4b8fd31ab3c7644be authored about 2 years ago by Max <[email protected]>
5.0.0

d84dbc1c8ce9ba9138530f32550d99d3c963de50 authored about 2 years ago by Mark Wubben <[email protected]>
Improve test result accessibility

* Explain diff gutter symbols. Fixes #1558
* Add test result labels. Color covers figure and la...

797287adbd7694b33a834f8dad5ae2fb5db53c08 authored about 2 years ago by Richard Gibson <[email protected]>
Count timeouts separately from the timed out tests

This ensures AVA exits with code 1 if any timeout occurs, even if there were no pending tests.
...

cc10b0c43f57efc9994649a159ad34baf1c56dc6 authored about 2 years ago by Mark Wubben <[email protected]>
Detect process.exit() called from tests

Fixes #861.

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

ea597d86137b6fe47ed56ccb29b1b1108bd6e9f9 authored about 2 years ago by Richard Gibson <[email protected]>
Work around os.cpus() returning an empty array on unsupported platforms

`os.cpus()` can return empty arrays on platforms not officially supported by Node.js. Use 1 as a...

4b03662cbc349f94d74989a8d500113d620d2445 authored about 2 years ago by Catink123 <[email protected]>
Update dependencies

Exclude Acorn stack traces from reporter logs.

Export types not interfaces.

02f626f529288414fc9a5d8fc148365fab0f5362 authored about 2 years ago by Mark Wubben <[email protected]>
Merge branch 'v4-hotfix'

14061be6be828f13d27e66e7f6942a37fbecc61e authored about 2 years ago by Mark Wubben <[email protected]>
Update to [email protected] and [email protected] and fix test suite

7c48c4d9190fe95eb37408fb8c871a446c622e08 authored about 2 years ago by Mark Wubben <[email protected]>