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',