Skip to content

Commit

Permalink
update the standalone config
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Jan 10, 2025
1 parent 3f33058 commit 7c13f5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jest.standalone.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ module.exports = {
]
},
transformIgnorePatterns: [
'/node_modules/(?!(ol|txml|geotiff|quick-lru|color-|rbush|earcut|pbf|quickselect))'
'/node_modules/(?!(ol|txml|geotiff|quick-lru|color-|rbush|earcut|pbf|quickselect|node-fetch|data-uri-to-buffer|fetch-blob|formdata-polyfill))'
],
moduleNameMapper: {
'\\.(css|less)$': '<rootDir>/test/css.js',
'^txml/txml$': '<rootDir>/node_modules/txml/dist/txml'
},
setupFiles: ['jest-canvas-mock'],
setupFiles: ['jest-canvas-mock', 'jsdom-worker'],
setupFilesAfterEnv: ['@testing-library/jest-dom', './test/setup_mocks.ts'],
testRegex: '/test/.*\\.test\\.tsx?$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node']
Expand Down

0 comments on commit 7c13f5d

Please sign in to comment.