Jest: Remove support for `ignorePattern` as function in `jest-haste-map`

Created on 31 Jul 2020  路  4Comments  路  Source: facebook/jest

It has been deprecated for 3 years - let's remove it for Jest 27.

Should essentially just be deleting these lines - possibly deleting some tests as well?

https://github.com/facebook/jest/blob/ca8bf7c8b7a6f295712250c0867e813a8ef8cc85/packages/jest-haste-map/src/index.ts#L263-L273

Help Wanted good first issue

Most helpful comment

Sure, go for it!

All 4 comments

Hello,
Mind if I give it a try as my first issue?

Sure, go for it!

@SimenB Hi, it seems like komtaki solved this issue. Could you close it? Leaving it open confused beginners (which was me)

Sure - tracked in #10348

Was this page helpful?
0 / 5 - 0 ratings

Related issues

calebmer picture calebmer  路  72Comments

vitalibozhko picture vitalibozhko  路  138Comments

paularmstrong picture paularmstrong  路  66Comments

bookman25 picture bookman25  路  79Comments

TYRONEMICHAEL picture TYRONEMICHAEL  路  80Comments