Mar 17, 2022
Hello Tomas,
it('My Test', async function (this: TestContext) { });
Should work as long as TestContext extends the Mocha.Context, it doesn't matter if the function is async or not.
Do you have any type errors?
Hello Tomas,
it('My Test', async function (this: TestContext) { });
Should work as long as TestContext extends the Mocha.Context, it doesn't matter if the function is async or not.
Do you have any type errors?
A Full-stack Software Engineer that loves building products. Disclaimer: https://gist.github.com/grzpab/3cf57878ffce7d5271298ccc473bcb98