diff --git a/.jest.node.json b/.jest.node.json index 90a26c1270..573bcce851 100644 --- a/.jest.node.json +++ b/.jest.node.json @@ -14,5 +14,6 @@ "\\.md$": "./node_modules/antd-demo-jest" }, "testRegex": "demo\\.test\\.js$", - "testEnvironment": "node" + "testEnvironment": "node", + "snapshotSerializers": ["enzyme-to-json/serializer"] }