- Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Please provide details about:
- What you're trying to do
I'd like to display a message to folks observing test runs on a particular timeout to indicate that they need to check some configuration locally. This particular scenario arises from bad user config that is detectable only at runtime (thanks AWS).
- Why you can't use AVA for this
I've sifted through the docs and can't find a good way to do this. I haven't taken a look at the source for a hack as I've been burned by doing that in the past and upgrading major versions.
- And maybe how you think AVA could handle this
Spitballing here, but perhaps:
test('verify email token', async (t) => { t.timeout(2000, 'Please check yo stuffs!'); const result = await longRunningTask(); t.assert(result); }); // or if this is something you all would prefer to indicate for an entire suite test.timeout(2000, 'Please check all the things');