Skip to content

Commit

Permalink
chore: upgrade to jest-image-snapshot 5.x (#35818)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed May 31, 2022
1 parent 336fef0 commit a61671f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 147 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -238,7 +238,7 @@
"jest-axe": "^6.0.0",
"jest-environment-jsdom": "^28.0.2",
"jest-environment-node": "^28.0.2",
"@ant-design/jest-image-snapshot": "^4.5.2",
"jest-image-snapshot": "^5.1.0",
"jest-puppeteer": "^6.0.0",
"jquery": "^3.4.1",
"jsdom": "^19.0.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/shared/imageTest.tsx
@@ -1,7 +1,7 @@
import React from 'react';
// Reference: https://github.com/ant-design/ant-design/pull/24003#discussion_r427267386
// eslint-disable-next-line import/no-unresolved
import { configureToMatchImageSnapshot } from '@ant-design/jest-image-snapshot';
import { configureToMatchImageSnapshot } from 'jest-image-snapshot';
import ReactDOMServer from 'react-dom/server';
import glob from 'glob';
import MockDate from 'mockdate';
Expand Down
145 changes: 0 additions & 145 deletions typings/jest-image-snapshot.d.ts

This file was deleted.

0 comments on commit a61671f

Please sign in to comment.