Skip to content

Commit

Permalink
Merge branch 'develop' into mh/rspack
Browse files Browse the repository at this point in the history
  • Loading branch information
puehringer authored Nov 1, 2023
2 parents cec7639 + e6f5d4b commit f949490
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions config/jest.config.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ const pluginsNotToTransform = [
'd3v3',
].join('|');

/**
* TODO check if we can process inline webpack loaders (e.g. as found in https://github.com/phovea/phovea_ui/blob/master/src/_bootstrap.ts)
* see also https://jestjs.io/docs/en/webpack#mocking-css-modules
*/
/** @type {import('jest').Config} */
module.exports = {
testEnvironment: 'jsdom',
transform: {
Expand All @@ -22,6 +19,8 @@ module.exports = {
'\\.xml$': 'jest-raw-loader',
},
testRegex: '(.*(test|spec))\\.(tsx?)$',
testPathIgnorePatterns: ['playwright'],
coveragePathIgnorePatterns: ['playwright'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
modulePaths: ['src'],
resolver: 'visyn_scripts/config/jest_export_maps_resolver.js',
Expand Down

0 comments on commit f949490

Please sign in to comment.