1.2.0
New features
You can now set a timeout for test themselves. The test will fail if this timeout is exceeded. The timeout is reset each time an assertion is made:
test('foo', t => {
t.timeout(100); // 100 milliseconds
// Write your assertions here
});
AVA also has a global timeout feature. The mini reporter now logs tests that were pending when those timeouts occur. Additionally, if you interrupt a test using ctrl+c we'll now also show the pending tests. 2b60556
Thank you @dflupu for your hard work on this!
Bug fixes and other improvements
- We're no longer truncating multi-line error messages 72e0762
- Unexpected errors in the throws assertions are now reported with the correct stack trace ad087f2
- The Debugging with VSCode recipe has been updated with the correct
workspaceFolder
variable 0a5fe42 and--serial
argument placement edfc005
All changes 馃摎
Thanks 馃拰
馃挅 Huge thanks to @anishkny, @CrispusDH, @dflupu and @niktekusho for helping us with this release. We couldn鈥檛 have done it without you!
Get involved 鉁岋笍
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.