diff --git a/jest.config.ts b/jest.config.ts index 646cec29..2bf149ca 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -6,8 +6,6 @@ export default async () => { target: 'browser', }), }); - console.log(JSON.stringify(config)); - return { ...config, testEnvironmentOptions: { diff --git a/package.json b/package.json index aeb1bc87..3257c13c 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ }, "devDependencies": { "@ant-design/pro-cli": "^3.3.0", - "@testing-library/react": "^13.4.0", + "@testing-library/react": "^16.0.1", "@types/classnames": "^2.3.1", "@types/express": "^4.17.21", "@types/history": "^4.7.11", diff --git a/src/pages/User/Login/__snapshots__/login.test.tsx.snap b/src/pages/User/Login/__snapshots__/login.test.tsx.snap index e6fd7022..1b928773 100644 --- a/src/pages/User/Login/__snapshots__/login.test.tsx.snap +++ b/src/pages/User/Login/__snapshots__/login.test.tsx.snap @@ -26,11 +26,11 @@ exports[`Login Page should login success 1`] = ` style="min-height: 100%; flex-direction: row;" >