Skip to content

[Docs]: jest30 testRegex, testPathPatterns breaking #15630

Closed
@sibelius

Description

@sibelius

Page(s)

I'm trying to migrate from jest29 to jest30 but my regex is breaking

testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(j|t)s?sx?$',

how to debug?

where in the jest codebase I can see the final glob pattern generated?

Description

Trying to migrate, but regex pattern is breaking

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