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

Implement t.log() (#1452)

There are times when you wish to include comments in your tests that will be shown in the contex...

14f7095d25abc5ffbff7efd7db962eaf5e86daab authored about 7 years ago by Nowell Strite <[email protected]>
Fixed makeApp() in endpoint testing recipe (#1479)

e28be05788b50b0ad81c889fa5fb6c4032c4201b authored about 7 years ago by Yehonatan Daniv <[email protected]>
Limit concurrency to the number of CPU cores (#1467)

Fixes #966

465fcecc9ae0d3274d4d41d3baaca241d6a40130 authored about 7 years ago by Sindre Sorhus <[email protected]>
Use --verbose when testing CLI output (#1477)

It cannot be guaranteed that all lines output by the mini reporter are
captured in the stderr o...

4eea22635dd39e2508b9bb2d01e7540047fe35a0 authored about 7 years ago by Mark Wubben <[email protected]>
Simplify readme avatar URLs

a0d5b373a19e9eb0022ad2936b46a1608f11b53f authored about 7 years ago by Sindre Sorhus <[email protected]>
Add tests for improper-usage-messages (#1462)

31b1380194cec664b8816bb31e333cba64ff27d9 authored about 7 years ago by Yuta Hiroto <[email protected]>
0.21.0

a1afbe347d9636b033129fc7cc49ab18bcdc9d70 authored over 7 years ago by Mark Wubben <[email protected]>
Update safe-buffer in package-lock.json

f9b865a1796c48d27c794b59c0695ad70cf01f16 authored over 7 years ago by Mark Wubben <[email protected]>
Avoid directly using newish Buffer APIs (#1448)

Ensure AVA doesn’t use Buffer APIs that are unavailable in Node.js releases older than 4.5.

d0fc8c9c4cff6ee2728a33dd05ca7358042c51c8 authored over 7 years ago by Andrew Torres <[email protected]>
Upgrade concordance (#1450)

Fixes #1413 and #1433.

9e4ee3fe690f015193e10066ec779b20fd3302f0 authored over 7 years ago by Mark Wubben <[email protected]>
Update expected package.json version in readme (#1449)

761f7f77d7b2325e443b9201bef74e2d4792dd85 authored over 7 years ago by Guillaume Vincent <[email protected]>
Resolve strict checking of function call arity (#1441)

e794e73e5e2588e1dd51d4638cfa9573835d7ffd authored over 7 years ago by Andrew Torres <[email protected]>
Revert "Handle package-lock.json churn"

This reverts commit 8d981bfc237f4b7d0779f99c38f74cd187647077.

Confusingly this caused more chur...

1cbcb06453152d9104d95d8b994b5a6d33ffb282 authored over 7 years ago by Mark Wubben <[email protected]>
Handle package-lock.json churn

8d981bfc237f4b7d0779f99c38f74cd187647077 authored over 7 years ago by Mark Wubben <[email protected]>
Assume npm 5.2.0 during development and CI

c09462c3e515c41da8177a3d9ba5fb0f19759653 authored over 7 years ago by Mark Wubben <[email protected]>
Add an additional npm-based recipe for Jetbrains IDEs (#1444)

2b4e35d446c2d6299c8de106a5251daaef14956c authored over 7 years ago by suchmaske <[email protected]>
Update flow def for AssertContext.throws to match typescript def (#1443)

Having a specific promise resolution value of Error was causing issues
with methods that throw ...

4a769f8f506638fe7ec244797a8dc3f596ac424f authored over 7 years ago by Dan Coates <[email protected]>
Include raw actual and expected objects in AssertionError (#1432)

This is useful for tools, such as wallaby.js, that bind to AVA's private APIs for tighter integr...

3f6e134af754d5e33609e7e28ce6609b57497f13 authored over 7 years ago by Artem Govorov <[email protected]>
Remove non-existent npm run script in maintaining.md (#1434)

0069a7ef4797a88149031124e7eade090a18ad4a authored over 7 years ago by Roberto Dip <[email protected]>
Minor readme tweak (#1422)

e58e96e3deb0825f52cbe66e481f7665b23f7c15 authored over 7 years ago by Kaycee <[email protected]>
Bump dependencies

5ae434a07e9fc25a44f3d78d65b6bc949abeb4a4 authored over 7 years ago by Sindre Sorhus <[email protected]>
Don’t use `chalk.stripColor`

To prepare for Chalk v2

7a28c595a5cfe06254359629be96f181795a0937 authored over 7 years ago by Sindre Sorhus <[email protected]>
Allow extra input params during profiling (#1429)

05bfafeff4137e25c97f175eed1ab45d4137396d authored over 7 years ago by Will Prater <[email protected]>
0.20.0

854203a728c4dff3ea61a3bcf49f1dfae04c7657 authored over 7 years ago by Mark Wubben <[email protected]>
Add more screenshot fixtures

652705b735b818c9a206b35cc06f3760e6dcea13 authored over 7 years ago by Mark Wubben <[email protected]>
Deep update of XO and its dependencies

Fixes compatibility issues with Atom, see <https://github.com/sindresorhus/atom-linter-xo/issues...

9d3b1bad681e1aad18ad8cd53407a7ccb1fc5782 authored over 7 years ago by Mark Wubben <[email protected]>
Link to ava-snapshot-example

8d09ba5cce7d4629582e62cea7cb9be6e2a30ead authored over 7 years ago by Sindre Sorhus <[email protected]>
Redo all of the screenshots

And commit fixtures so we can easily reproduce them.

The `snapshot-testin.png` screenshot will ...

2360256137b420164244755635b5980b90bbfee5 authored over 7 years ago by Sindre Sorhus <[email protected]>
Meta tweaks

Use tab indentation

589489db04128f9287de44e600175b4af5a2f52d authored over 7 years ago by Sindre Sorhus <[email protected]>
Add command for updating snapshots in watch mode (#1413)

f507e364c4be8ac0f5702b9fd31ac634b9ec35cb authored over 7 years ago by Efe GĂĽrkan YALAMAN <[email protected]>
Ensure ExecutionContext properties are not enumerable

There's no point in revealing the internal Test object when users try to
log the `t` object.

07e31fb39e8a2d565ba22053143b12e7b556ed9c authored over 7 years ago by Mark Wubben <[email protected]>
Print useful errors when snapshot files are incompatible or corrupted

c182a9744aa8c244f3fcc6e98d1d90714f5c6c03 authored over 7 years ago by Mark Wubben <[email protected]>
Don't indent actual/expected/difference values

Assuming --color, the formatted output is distinct enough from
surrounding text to not need the ...

d2b05cffe808b09a41fbdd9e65b2d1d8a35175ec authored over 7 years ago by Mark Wubben <[email protected]>
Use Concordance

Remove format-assert-error module. Concordance's API is very clean so it
becomes easier to wrap ...

41e996647c5f9413fa7458c4409b90c2a537effa authored over 7 years ago by Mark Wubben <[email protected]>
concordance@2

a1410332188999b5829a57886180f6d6117a8bdf authored over 7 years ago by Mark Wubben <[email protected]>
Fix 'label' property in verbose reporter tests

6d704e98fc8060d535131e3e28ffb9c0af2c8a2d authored over 7 years ago by Mark Wubben <[email protected]>
Determine snapshot directory by where the test is located

Tests inside a `__tests__` directory have their snapshots written to a
`__snapshots__` directory...

ebd572a02debe8e17802f795e6cd618073c8d787 authored over 7 years ago by Mark Wubben <[email protected]>
Treat loaded snapshot files as test dependencies

This enables the watcher to rerun the correct test when a snapshot file
is modified.

dbc78dc19cb759b6b72946bc1b833abc284cfab2 authored over 7 years ago by Mark Wubben <[email protected]>
Track snapshot files touched during test run, ignore in watcher

Workers can emit which files were touched during the test run. This is
used to communicate to th...

50b60a11aecf9bc6945b7e836a9ec8855bbcd86e authored over 7 years ago by Mark Wubben <[email protected]>
Include dirty sources in watcher debug output

6d3c279e4cfd84161333b7bc92b1fad41fd4060b authored over 7 years ago by Mark Wubben <[email protected]>
Increase debounce delays in watcher

The watcher needs to wait more than 10ms before snapshot related
file changes are detected. Star...

f1a2a9f3c7a5f870142ff84481c3c48dd55212bf authored over 7 years ago by Mark Wubben <[email protected]>
Update readme

f62c13762d57b164a6c68175e57ec13e5e5241ac authored over 7 years ago by Mark Wubben <[email protected]>
Extract serialized error formatting into its own module

It's only used by reporters, and the other methods in the
format-assert-error module are only us...

9d461bbacd5017a07e7d68cfc679d959c5111b8d authored over 7 years ago by Mark Wubben <[email protected]>
Utilize invert option in snapshot diffs

This ensures the snapshot values are shown with `+` gutters, and the
actual values with `-` gutt...

a005915bbf6d8c04ebbe7389fefee76f4717e0cd authored over 7 years ago by Mark Wubben <[email protected]>
Utilize maxDepth option

f81eeaa239a2ed1f4cfd77bf80368010f758f1be authored over 7 years ago by Mark Wubben <[email protected]>
Add @concordance/react plugin

9933833eb88a519981b6456c7571deab26d7c2d0 authored over 7 years ago by Mark Wubben <[email protected]>
Document t.title accessor

Clean up tests which unnecessarily use the accessor, and add a single dedicated
test instead.

549e99b2bd13d88fa44306919fd66abe808e791c authored over 7 years ago by Mark Wubben <[email protected]>
Implement AVA snapshots using Concordance

ec94f9493d94ad3995e3fd474e8764616a2c07ed authored over 7 years ago by Mark Wubben <[email protected]>
Fail gracefully when legacy snapshot files are encountered

25f1064e276ee22c27f02d51f63b1369dc8566b8 authored over 7 years ago by Mark Wubben <[email protected]>
Add integration test for appending to an existing snapshot file

Doesn't verify that the generated Markdown changes, but at least the
code paths are exercised.

0e82f8f9bd72fd88991687580caf4808df433afc authored over 7 years ago by Mark Wubben <[email protected]>
Reduce repetition between error message and value label

If the value label starts with the error message, don't print the
error message in the mini and ...

387d1f62f2f8d34f3a07b811a819a1a186821790 authored over 7 years ago by Mark Wubben <[email protected]>
Consistent use of newlines in mini and verbose reporters

The final output of mini and verbose reporters is complex, with lots of
optional values. Consist...

74055cba45239a95a93abb1bec92cae958c7e826 authored over 7 years ago by Mark Wubben <[email protected]>
Reorder test-worker imports

Ensure options are exposed on globals before loading code that might
access them.

bcd99431d68a03087e28cb8eff2b601911a2be9b authored over 7 years ago by Mark Wubben <[email protected]>
Automatically watch for snapshot changes

87eef846392d04b727b57981a16f7e8429a04195 authored over 7 years ago by Mark Wubben <[email protected]>
Fix debugging with Webstorm on Node.js 8 (#1414)

* Rename confusing `--debug-brk` in code comment
* Document curious test behavior around `--ins...

a868b02f7cdee89d82bd22b3f4f47da2e1cba6ac authored over 7 years ago by Dominic Garms <[email protected]>
Clean up the webpack recipe

212b5de5759fdb267d837620c3eec7e5695a23e1 authored over 7 years ago by Sindre Sorhus <[email protected]>
Improve webpack recipe (#1385)

Discuss various options and trade-offs in how to use webpack builds as a way to run AVA tests.

f228401a5a91200639fb6e8598605e0e9e781ba6 authored over 7 years ago by Suhas Karanth <[email protected]>
Use the `import-local` module (#1376)

7c62b3524d72a4b6953a4d874edf0e4138851317 authored over 7 years ago by Sindre Sorhus <[email protected]>
Output message when `t.throws()` fails (#1408)

dfca2d9a24e7ee4a12102a8976b89380dde74d4b authored over 7 years ago by tdeschryver <[email protected]>
Update @ava/babel-preset-stage-4

Fixes #1400.

e45695197c8ba5d0ec7df7a7fe38f00f9a5f5fb0 authored over 7 years ago by Mark Wubben <[email protected]>
Stop caching node_modules in CI

npm 5 is plenty fast doing installs if it has cached tarballs. It does
seem to have trouble in o...

9275ac5aef16f7ae7b8e2c07c4325a5c43981877 authored over 7 years ago by Mark Wubben <[email protected]>
Also change regular (non-Windows) test timeout to 5 minutes

2d05b4d6ae4a5769afa29b4fd71fe3a28a279103 authored over 7 years ago by Mark Wubben <[email protected]>
Update appveyor.yml

* Remove unused AVA_APVEYOR variable
* Clean up seemingly unnecessary settings
* Skip branch bui...

127854ad549da9fbe98e8172883101ebea53fe8c authored over 7 years ago by Mark Wubben <[email protected]>
Time out tests after 5 minutes

This is double from the previous 2.5 minutes. `test/cli.js` and
`test/api.js` are quite large an...

1c7ba3966ff8937e86c8d17d4662cf0d54561608 authored over 7 years ago by Mark Wubben <[email protected]>
Ignore new atimeMs values in babel-config test

These wer introduced in Node.js 8.1.0.

aa25df5ee25af4fb5fbcc5c600e433939b3e46da authored over 7 years ago by Mark Wubben <[email protected]>
Update .travis.yml

* Install specific minimum npm version
* Run one test job without the package-lock.json file to ...

c23990dcc89538333dbecd3df1b8680707b1d5aa authored over 7 years ago by Mark Wubben <[email protected]>
Explicitly require hullabaloo-config-manager@^1.1.0

Fixes #1354.

c4c5e7bb3ec43726c03d9834f55e157c5feacf8f authored over 7 years ago by Mark Wubben <[email protected]>
Support npm@5, test with Node.js 8 (#1398)

* Add npm@5 lockfile

* Test in Node.js 8, not 7

* Update API test for Node.js 8

--debug...

8b8acfc455ffd2502de2d5204769bd58b260b004 authored over 7 years ago by Mark Wubben <[email protected]>
Fix spec markdown link (#1397)

8c6dbfdae30e0c476cd21ca54c4a3ccbd31f88fe authored over 7 years ago by Federico Brigante <[email protected]>
Fail hard when `--concurrency` is used without a value (#1373)

8c35a1a4b61c3f91d8c7b61e185dd5b450402bc0 authored over 7 years ago by Yatharth Khatri <[email protected]>
Docs: Extend VSCode debugging notes (#1389)

140c0e03c93bf5fcbda3d913bfca43e0217918b9 authored over 7 years ago by Jan Peer Stöcklmair <[email protected]>
Docs: Add link to french translation (Vue.js recipe) (#1391)

cd8ffef7a49e0ba43a2099abeaac91a30852b94e authored over 7 years ago by Forresst <[email protected]>
Add Vue.js recipe (#1361)

ff3bba95fa82b812328176bb490a252e11827a21 authored over 7 years ago by Blake Newman <[email protected]>
Docs: Add link to french translation (VSCode and MongoDB) (#1384)

0b4707181cf03dae1934d35c77102ba8e2618a03 authored over 7 years ago by Forresst <[email protected]>
Various minor tweaks

2ed94853ddd2ca4614a82b2a79cc251c09212331 authored over 7 years ago by Sindre Sorhus <[email protected]>
Remove moot eslint-disable comments

a1e08ab8fea773daab3489f05ad47fdd7f202644 authored over 7 years ago by Sindre Sorhus <[email protected]>
Remove outdated workshop reference in React recipe

81d57a051972df9aea29db40c5e66e8a3aa731b6 authored over 7 years ago by Sindre Sorhus <[email protected]>
Clean up #1357

cf5c459679c23276e574a3bdc4fa7d6ed0903d8f authored over 7 years ago by Sindre Sorhus <[email protected]>
MongoDB testing recipe (#1357)

970872cceb9b99fb5ce4519d729ed1597ed2a88c authored over 7 years ago by Connor Imrie <[email protected]>
Add recipe on debugging with VSCode (#1375)

1d041531900f88fede3d006730efb40f8f7dae07 authored over 7 years ago by Jan Peer Stöcklmair <[email protected]>
Add some more keywords to package.json

2b9f29133fc8306786615cae90ff0ebea0e3de28 authored over 7 years ago by Sindre Sorhus <[email protected]>
Fix link to ES2017 Support section in babel-config (#1369)

90fb60a895bff0a76df46e2af8deec307a67cbbb authored over 7 years ago by Colder Xihk <[email protected]>
Use `ansi-escapes` module

9a081ec52ca2724d78b51451d90fca4250e16003 authored over 7 years ago by Sindre Sorhus <[email protected]>
Remove dead Flow types

e6143751c3f4354a1cd14c4852ee7422e36445b9 authored over 7 years ago by zs-zs <[email protected]>
Make `t.is()` use `Object.is()` (#1353)

Fixes #1339

db3996154809925752e3afba9e6dcc34e9120619 authored over 7 years ago by Alex Russell <[email protected]>
Add warning to browser recipe (#1355)

c01ac05ef610c87f5c264b1a3eb80f89b4fc0832 authored over 7 years ago by Luke Childs <[email protected]>
0.19.1

4cc3403b4878e0e32c8d1a2e95874223fe4cdc29 authored over 7 years ago by Mark Wubben <[email protected]>
Fix context for beforeEach and afterEach hooks in Flow type definition file (#1344)

d169f0e7c25e861fe9221af96b883156a1749ae4 authored over 7 years ago by zs-zs <[email protected]>
Set up regression testing for TypeScript

6224f314908034ec867265dc92201d6dc7c53b1b authored over 7 years ago by Mark Wubben <[email protected]>
Fix TypeScript definition for callback tests

Fixes #1347

bd81ef4a995edcf37f8f2199ac8b83c1463e3a4a authored over 7 years ago by Mark Wubben <[email protected]>
Avoid MaxListenersExceededWarning in Sequence

Fixes #1345.

d27bc8ffbb060fa73dbcc42d548d0f95c1bc0541 authored over 7 years ago by Mark Wubben <[email protected]>
0.19.0

8f80ed104c2c72dfa8ad9e98f2455cf36f09b72d authored over 7 years ago by Mark Wubben <[email protected]>
Fix get-port usage

It's risky to pass a function to a map() operation, and indeed since
[email protected] the getPort(...

054d39b787ac72d89b48713a1151b414efe98ae7 authored over 7 years ago by Mark Wubben <[email protected]>
Fail tests that finish with pending assertions

`t.throws()` and `t.notThrows()` can be called with an observable or
promise. This commit forces...

affbb457445c792e62ea3c954e1af7e03cf7a8ee authored over 7 years ago by Mark Wubben <[email protected]>
Remove unnecessary test to verify throws/notThrows return promises

2e48970514c5e79a7ce1ea33019452a1fea8b988 authored over 7 years ago by Mark Wubben <[email protected]>
Reword error message for when assertions are used after test has finished

d2a294d421ffc84db86e518e1c5a754ba807c9d0 authored over 7 years ago by Mark Wubben <[email protected]>
Improve Babel recipe (#1290)

ecdadfa9c2b5d5c40e4edd14df0319f222007c60 authored over 7 years ago by Florian Breisch <[email protected]>
Document --color CLI flag

22832473c4fcc92b51095c4378eb0b9734fb921d authored over 7 years ago by Mark Wubben <[email protected]>
Set default color config based on supports-color

146c3e25df31d39165b4ad99f4d523e7806c30fb authored over 7 years ago by Mark Wubben <[email protected]>
Don't highlight formatted values with --no-color

Fixes #843
(https://github.com/avajs/ava/issues/843#issuecomment-290935567). Values
shouldn't be...

b58198375295ad12feaafca84a7fac47fd503541 authored over 7 years ago by Mark Wubben <[email protected]>