Hi,
after upgrading our frontend to the newest a12 version (2025.06ext1) our jest tests have a parsing problem. What could we do to correct this?
We found a solution:
we added following snippet to out jest.config.js file:
const esModules = [
// modules that should be transformed
].join("|");
module.exports = {
// ...other configs
transformIgnorePatterns: [`/node_modules/(?!${esModules}).+\\.js$`],
transform: {
"^.+\\.[tj]sx?$": "ts-jest"
}
}