Skip to content

Commit 63ffa29

Browse files
committed
fix(style): stop regenerating snapshot because of emotion
1 parent 17c4006 commit 63ffa29

File tree

5 files changed

+896
-63
lines changed

5 files changed

+896
-63
lines changed

jest.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ const config: Config.InitialOptions = {
2828
'<rootDir>/__mocks__/fileMock.js',
2929
'\\.(scss|css|less|md)$': '<rootDir>/__mocks__/styleMock.js',
3030
},
31+
snapshotSerializers: ['@emotion/jest/serializer'],
3132
};
3233
export default config;

package-lock.json

+234
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"@babel/plugin-transform-runtime": "7.12.1",
4242
"@babel/preset-env": "7.12.1",
4343
"@babel/preset-react": "7.12.5",
44+
"@emotion/jest": "11.11.0",
4445
"@storybook/addon-a11y": "6.5.9",
4546
"@storybook/addon-actions": "6.5.9",
4647
"@storybook/addon-essentials": "6.5.9",

0 commit comments

Comments
 (0)