Open
Description
avajs/ava#1947 landed a new t.try()
assertion. It's experimental, one of the reasons for which is that it advocates some new usages of AVA that this plugin rejects.
t.try()
takes a callback, which receives another execution object:
const attempt = await t.try(t => {
t.pass()
})
attempt.commit()
Not all linting setups allow you to shadow variables like this. I'm proposing we also allow tt
, and t1
through t9
. Thoughts?