Skip to content

Commit

Permalink
update the jest patterns for the new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Jul 10, 2021
1 parent 325ffc1 commit bc7bf7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = {
roots: ['<rootDir>/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$': '<rootDir>/src',
'^rlayers\/(.*)$': '<rootDir>/src/$1',
Expand Down

0 comments on commit bc7bf7a

Please sign in to comment.