diff --git a/config/jest.config.template.js b/config/jest.config.template.js index 6988cd5..3e0fce7 100644 --- a/config/jest.config.template.js +++ b/config/jest.config.template.js @@ -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: { @@ -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', diff --git a/package.json b/package.json index cefa1d0..5d1304a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "visyn_scripts", "description": "", - "version": "5.0.1-SNAPSHOT", + "version": "5.1.1-SNAPSHOT", "author": { "name": "datavisyn GmbH", "email": "contact@datavisyn.io",