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
There are times when you wish to include comments in your tests that will be shown in the contex...
14f7095d25abc5ffbff7efd7db962eaf5e86daab authored over 7 years agoe28be05788b50b0ad81c889fa5fb6c4032c4201b authored over 7 years ago
Fixes #966
465fcecc9ae0d3274d4d41d3baaca241d6a40130 authored over 7 years ago
It cannot be guaranteed that all lines output by the mini reporter are
captured in the stderr o...
a0d5b373a19e9eb0022ad2936b46a1608f11b53f authored over 7 years ago
31b1380194cec664b8816bb31e333cba64ff27d9 authored over 7 years ago
a1afbe347d9636b033129fc7cc49ab18bcdc9d70 authored over 7 years ago
f9b865a1796c48d27c794b59c0695ad70cf01f16 authored over 7 years ago
Ensure AVA doesnβt use Buffer APIs that are unavailable in Node.js releases older than 4.5.
d0fc8c9c4cff6ee2728a33dd05ca7358042c51c8 authored over 7 years agoFixes #1413 and #1433.
9e4ee3fe690f015193e10066ec779b20fd3302f0 authored over 7 years ago761f7f77d7b2325e443b9201bef74e2d4792dd85 authored over 7 years ago
e794e73e5e2588e1dd51d4638cfa9573835d7ffd authored over 7 years ago
This reverts commit 8d981bfc237f4b7d0779f99c38f74cd187647077.
Confusingly this caused more chur...
1cbcb06453152d9104d95d8b994b5a6d33ffb282 authored over 7 years ago8d981bfc237f4b7d0779f99c38f74cd187647077 authored over 7 years ago
c09462c3e515c41da8177a3d9ba5fb0f19759653 authored over 7 years ago
2b4e35d446c2d6299c8de106a5251daaef14956c authored over 7 years ago
Having a specific promise resolution value of Error was causing issues
with methods that throw ...
This is useful for tools, such as wallaby.js, that bind to AVA's private APIs for tighter integr...
3f6e134af754d5e33609e7e28ce6609b57497f13 authored over 7 years ago0069a7ef4797a88149031124e7eade090a18ad4a authored over 7 years ago
e58e96e3deb0825f52cbe66e481f7665b23f7c15 authored over 7 years ago
5ae434a07e9fc25a44f3d78d65b6bc949abeb4a4 authored over 7 years ago
To prepare for Chalk v2
7a28c595a5cfe06254359629be96f181795a0937 authored over 7 years ago05bfafeff4137e25c97f175eed1ab45d4137396d authored over 7 years ago
854203a728c4dff3ea61a3bcf49f1dfae04c7657 authored over 7 years ago
652705b735b818c9a206b35cc06f3760e6dcea13 authored over 7 years ago
Fixes compatibility issues with Atom, see <https://github.com/sindresorhus/atom-linter-xo/issues...
9d3b1bad681e1aad18ad8cd53407a7ccb1fc5782 authored over 7 years ago8d09ba5cce7d4629582e62cea7cb9be6e2a30ead authored over 7 years ago
And commit fixtures so we can easily reproduce them.
The `snapshot-testin.png` screenshot will ...
2360256137b420164244755635b5980b90bbfee5 authored over 7 years agof507e364c4be8ac0f5702b9fd31ac634b9ec35cb authored over 7 years ago
There's no point in revealing the internal Test object when users try to
log the `t` object.
c182a9744aa8c244f3fcc6e98d1d90714f5c6c03 authored over 7 years ago
Assuming --color, the formatted output is distinct enough from
surrounding text to not need the ...
Remove format-assert-error module. Concordance's API is very clean so it
becomes easier to wrap ...
a1410332188999b5829a57886180f6d6117a8bdf authored over 7 years ago
6d704e98fc8060d535131e3e28ffb9c0af2c8a2d authored over 7 years ago
Tests inside a `__tests__` directory have their snapshots written to a
`__snapshots__` directory...
This enables the watcher to rerun the correct test when a snapshot file
is modified.
Workers can emit which files were touched during the test run. This is
used to communicate to th...
6d3c279e4cfd84161333b7bc92b1fad41fd4060b authored over 7 years ago
The watcher needs to wait more than 10ms before snapshot related
file changes are detected. Star...
f62c13762d57b164a6c68175e57ec13e5e5241ac authored over 7 years ago
It's only used by reporters, and the other methods in the
format-assert-error module are only us...
This ensures the snapshot values are shown with `+` gutters, and the
actual values with `-` gutt...
f81eeaa239a2ed1f4cfd77bf80368010f758f1be authored over 7 years ago
9933833eb88a519981b6456c7571deab26d7c2d0 authored over 7 years ago
Clean up tests which unnecessarily use the accessor, and add a single dedicated
test instead.
ec94f9493d94ad3995e3fd474e8764616a2c07ed authored over 7 years ago
25f1064e276ee22c27f02d51f63b1369dc8566b8 authored over 7 years ago
Doesn't verify that the generated Markdown changes, but at least the
code paths are exercised.
If the value label starts with the error message, don't print the
error message in the mini and ...
The final output of mini and verbose reporters is complex, with lots of
optional values. Consist...
Ensure options are exposed on globals before loading code that might
access them.
87eef846392d04b727b57981a16f7e8429a04195 authored over 7 years ago
* Rename confusing `--debug-brk` in code comment
* Document curious test behavior around `--ins...
212b5de5759fdb267d837620c3eec7e5695a23e1 authored over 7 years ago
Discuss various options and trade-offs in how to use webpack builds as a way to run AVA tests.
f228401a5a91200639fb6e8598605e0e9e781ba6 authored over 7 years ago7c62b3524d72a4b6953a4d874edf0e4138851317 authored over 7 years ago
dfca2d9a24e7ee4a12102a8976b89380dde74d4b authored over 7 years ago
Fixes #1400.
e45695197c8ba5d0ec7df7a7fe38f00f9a5f5fb0 authored over 7 years ago
npm 5 is plenty fast doing installs if it has cached tarballs. It does
seem to have trouble in o...
2d05b4d6ae4a5769afa29b4fd71fe3a28a279103 authored over 7 years ago
* Remove unused AVA_APVEYOR variable
* Clean up seemingly unnecessary settings
* Skip branch bui...
This is double from the previous 2.5 minutes. `test/cli.js` and
`test/api.js` are quite large an...
These wer introduced in Node.js 8.1.0.
aa25df5ee25af4fb5fbcc5c600e433939b3e46da authored over 7 years ago
* Install specific minimum npm version
* Run one test job without the package-lock.json file to ...
Fixes #1354.
c4c5e7bb3ec43726c03d9834f55e157c5feacf8f authored over 7 years ago* Add npm@5 lockfile
* Test in Node.js 8, not 7
* Update API test for Node.js 8
--debug...
8b8acfc455ffd2502de2d5204769bd58b260b004 authored over 7 years ago8c6dbfdae30e0c476cd21ca54c4a3ccbd31f88fe authored over 7 years ago
8c35a1a4b61c3f91d8c7b61e185dd5b450402bc0 authored over 7 years ago
140c0e03c93bf5fcbda3d913bfca43e0217918b9 authored over 7 years ago
cd8ffef7a49e0ba43a2099abeaac91a30852b94e authored over 7 years ago
ff3bba95fa82b812328176bb490a252e11827a21 authored over 7 years ago
0b4707181cf03dae1934d35c77102ba8e2618a03 authored almost 8 years ago
2ed94853ddd2ca4614a82b2a79cc251c09212331 authored almost 8 years ago
a1e08ab8fea773daab3489f05ad47fdd7f202644 authored almost 8 years ago
81d57a051972df9aea29db40c5e66e8a3aa731b6 authored almost 8 years ago
cf5c459679c23276e574a3bdc4fa7d6ed0903d8f authored almost 8 years ago
970872cceb9b99fb5ce4519d729ed1597ed2a88c authored almost 8 years ago
1d041531900f88fede3d006730efb40f8f7dae07 authored almost 8 years ago
2b9f29133fc8306786615cae90ff0ebea0e3de28 authored almost 8 years ago
90fb60a895bff0a76df46e2af8deec307a67cbbb authored almost 8 years ago
9a081ec52ca2724d78b51451d90fca4250e16003 authored almost 8 years ago
e6143751c3f4354a1cd14c4852ee7422e36445b9 authored almost 8 years ago
Fixes #1339
db3996154809925752e3afba9e6dcc34e9120619 authored almost 8 years agoc01ac05ef610c87f5c264b1a3eb80f89b4fc0832 authored almost 8 years ago
4cc3403b4878e0e32c8d1a2e95874223fe4cdc29 authored almost 8 years ago
d169f0e7c25e861fe9221af96b883156a1749ae4 authored almost 8 years ago
6224f314908034ec867265dc92201d6dc7c53b1b authored almost 8 years ago
Fixes #1347
bd81ef4a995edcf37f8f2199ac8b83c1463e3a4a authored almost 8 years agoFixes #1345.
d27bc8ffbb060fa73dbcc42d548d0f95c1bc0541 authored almost 8 years ago8f80ed104c2c72dfa8ad9e98f2455cf36f09b72d authored almost 8 years ago
It's risky to pass a function to a map() operation, and indeed since
[email protected] the getPort(...
`t.throws()` and `t.notThrows()` can be called with an observable or
promise. This commit forces...
2e48970514c5e79a7ce1ea33019452a1fea8b988 authored almost 8 years ago
d2a294d421ffc84db86e518e1c5a754ba807c9d0 authored almost 8 years ago
ecdadfa9c2b5d5c40e4edd14df0319f222007c60 authored almost 8 years ago
22832473c4fcc92b51095c4378eb0b9734fb921d authored almost 8 years ago
146c3e25df31d39165b4ad99f4d523e7806c30fb authored almost 8 years ago
Fixes #843
(https://github.com/avajs/ava/issues/843#issuecomment-290935567). Values
shouldn't be...