Skip to content

[prefer-expect-assertions] Doesn't work within .each blocks #676

Closed
@loganrosen

Description

@loganrosen

It appears that the prefer-expect-assertions rule does not work if your test is within a describe.each() block or if the test itself is a test.each(). It doesn't detect that there's a lack of an expect.assertions() or expect.hasAssertions() call at the beginning of the test.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions