Skip to content

Commit c101d69

Browse files
committed
Remove SVG module mapper,
as they are now loaded as images. Addresses #897 (review)
1 parent 1ead489 commit c101d69

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ module.exports = {
2020
`<rootDir>/node_modules/(?!@woocommerce/(${ wcPackagesNeedTransform })(/node_modules/@woocommerce/(${ wcPackagesNeedTransform }))?/build/)`,
2121
],
2222
moduleNameMapper: {
23-
'\\.svg$': '<rootDir>/tests/mocks/assets/svgrMock.js',
2423
'\\.scss$': '<rootDir>/tests/mocks/assets/styleMock.js',
2524
// Transform our `.~/` alias.
2625
'^\\.~/(.*)$': '<rootDir>/js/src/$1',

0 commit comments

Comments
 (0)