Skip to content

Commit

Permalink
Fixing CI CD pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
hkam0006 committed Oct 9, 2024
1 parent 79d49ac commit f2dec1a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/src/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
module.exports = {
setupFiles: ['./jest.polyfills.js'],
transformIgnorePatterns: [
"/node_modules/(?!(d3-shape|d3-[a-z-]+)/)", // Transform d3-shape and related d3 modules
],
transform: {
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest", // Use babel-jest for transforming files
},
setupFilesAfterEnv: ["<rootDir>/src/setupTests.js"],
}

0 comments on commit f2dec1a

Please sign in to comment.