Skip to content

valid-describe blows up on template strings (backticks) #75

@nevir

Description

@nevir

I have a pattern where I prefer backticks for test/describe names (makes apostrophes easier to juggle, and helps call out strings that are user-visible vs those that aren't)

However, valid-describe blows up on 'em:

describe(`foo`, () => {  }); // Error: First argument must be name
describe('foo', () => {  }); // OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions