We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no-expect-assertions-call-in-deno-test
expect.assertions and expect.hasAssertions currently will not work in Deno.test fn, for example:
expect.assertions
expect.hasAssertions
Deno.test
Deno.test("Doesn't work", () => { expect.hasAssertion() // will not throw an error });
it only works without Deno.test:
describe('work', () => { it("throw an error", () => { expect.assertions(1); }); });
More context: denoland/std#3964 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
expect.assertions
andexpect.hasAssertions
currently will not work inDeno.test
fn, for example:it only works without
Deno.test
:More context: denoland/std#3964 (comment)
The text was updated successfully, but these errors were encountered: