Skip to content

no-identical-tests crashes if tests array has missing elements #35

@not-an-aardvark

Description

@not-an-aardvark
/* eslint eslint-plugin/no-identical-tests: error */

new RuleTester().run("foo", theRule, {
    valid: [
        "foo",
        , // <-- extra comma
    ]
});

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions