jest-module-name-mapper icon indicating copy to clipboard operation
jest-module-name-mapper copied to clipboard

ts-jest maps differently

Open nicoabie opened this issue 2 years ago • 0 comments

ts-jest add escapes \ when there are dashes and adds a $ at the end

@shared-components gets mapped as ^@shared\\-components$ in ts jest @shared-components gets mapped as ^@shared-components in jest module name mapper

nicoabie avatar Jul 05 '23 17:07 nicoabie