Mark Wubben
10e2e8a35a
Add t.timeout.clear() to restore default behavior
2023-07-03 15:46:29 +02:00
Richard Gibson
d66fc7fe2b
Fix typo in Execution Context documentation
2022-08-08 11:08:48 +02:00
Forresst
b208d143ad
Link to correct branch in ava-docs repository
2022-06-02 14:08:58 +02:00
Scott Martin
576f534b34
Update examples in docs to use ES Modules
...
Co-authored-by: Mark Wubben <mark@novemberborn.net>
2022-02-13 19:48:45 +01:00
Mark Wubben
f09742f7ba
Clean up documentation in preparation for AVA 4
2022-01-03 18:42:58 +01:00
Mark Wubben
8571b2a7f7
Remove test.cb()
...
Fixes #2387 .
2021-03-14 08:50:47 +01:00
Mark Wubben
dc4483f440
Teardowns run in reverse order
...
Fixes #2516 .
2021-02-07 16:54:28 +01:00
tymfear
900dc6d46a
Make t.passed usable in tests and teardown functions
2020-09-09 09:22:23 +02:00
Marc
952a017775
Experimentally reverse teardown order
...
Co-authored-by: Mark Wubben <mark@novemberborn.net>
2020-06-14 14:33:52 +02:00
Oskar Löfgren
75cbc3b2a5
Add t.teardown()
...
Co-Authored-By: Mark Wubben <mark@novemberborn.net>
2020-04-26 15:58:15 +02:00
Bunyanuch Saengnet
8f312c0f2c
Add t.passed to execution contexts
...
In `afterEach` hooks, consult `t.passed` to determine whether the test passed.
Fixes #840 .
Co-authored-by: Mark Wubben <mark@novemberborn.net>
2020-04-04 14:53:14 +02:00
Mark Wubben
79b2ea30c1
Use CJS syntax in documentation
...
Out of the box, ESM syntax will only work in Node.js 13, so having that
as the default example is misleading.
Leave it for the TypeScript recipe since TypeScript doesn't work out of
the box anyway. Leave the config example, which will be updated when we
update the config formats for ESM.
2019-12-31 15:33:43 +01:00
Daniel Lupu
b65c6d7da8
Add t.timeout()
...
Fixes #1565
2019-01-26 17:51:38 +01:00
Forresst
f4b2d196e8
Fix links to French translation of docs ( #2005 )
2018-12-31 15:14:30 +01:00
Mark Wubben
1ba31d8f3e
Reorganize documentation
...
Extract various sections from the readme into their own files. I've tried to keep other changes to a minimum.
Remove the lone RFC. Likely, we'd reintroduce RFCs in a separate repo.
2018-11-05 09:08:04 +00:00