Const
Asserts that the subject is an async function.
expect(async () => {}, 'to be an async function'); // passesexpect(() => {}, 'to be an async function'); // fails Copy
expect(async () => {}, 'to be an async function'); // passesexpect(() => {}, 'to be an async function'); // fails
Asserts that the subject is an async function.