Skip to content

[new rule] Prefer test.todo() #217

@macklinu

Description

@macklinu

Introduced in Jest 24 (see this blog post), it seems like we could support a rule that would prefer the following:

test.todo('i need to write this test')

instead of:

test('i need to write this test') // and/or test('i need to write this test', () => {})

Haven't thought much about specifics, rule naming, etc. Just came here from the Jest 24 blog post and wanted to jot this down.

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