aboutsummaryrefslogtreecommitdiffstats
path: root/jest.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/jest.config.js b/jest.config.js
index a126998..127d90b 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,7 +1,9 @@
module.exports = {
transform: {
'^.+\\.(t|j)sx?$': ['@swc/jest'],
- '^.+\\.svg$': ['jest-svg-transformer']
+ },
+ moduleNameMapper: {
+ '\\.svg$': '<rootDir>/src/tests/__mocks__/svg.ts',
},
collectCoverageFrom: [
"src/**/*.{js,jsx,ts,tsx}",