From bc7bf7a63e1ae0b6cd5aa09e688017f4710d9cdf Mon Sep 17 00:00:00 2001 From: Momtchil Momtchev Date: Sat, 10 Jul 2021 10:58:44 +0200 Subject: [PATCH] update the jest patterns for the new versions --- jest.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jest.config.js b/jest.config.js index 68a09a03..6d3bbcd0 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,9 +1,9 @@ module.exports = { roots: ['/test'], transform: { - '^.+\\.(j|t)sx?$': 'ts-jest' + '^.+\.(t|j)sx?$': 'ts-jest' }, - transformIgnorePatterns: ['/node_modules/(?!ol)'], + transformIgnorePatterns: ['/node_modules/(?!(ol|@mapbox\/mapbox-gl-style-spec))'], moduleNameMapper: { '^rlayers$': '/src', '^rlayers\/(.*)$': '/src/$1',