From 9d9109ed5e2484c7afbf9b3df2d948bf7e564d0c Mon Sep 17 00:00:00 2001 From: arvinxx Date: Sat, 28 Sep 2024 03:08:23 +0800 Subject: [PATCH] :white_check_mark: test: fix tests --- package.json | 6 +++--- tests/functions/__snapshots__/createInstance.test.tsx.snap | 2 +- tests/functions/__snapshots__/createStyles.test.tsx.snap | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3d10fa33..89e766ff 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ ] }, "dependencies": { - "@ant-design/cssinjs": "^1.18.5", + "@ant-design/cssinjs": "^1.21.1", "@babel/runtime": "^7.24.1", "@emotion/cache": "^11.11.0", "@emotion/css": "^11.11.2", @@ -79,7 +79,7 @@ "use-merge-value": "^1.2.0" }, "devDependencies": { - "@ant-design/icons": "^5.3.5", + "@ant-design/icons": "^5.5.1", "@commitlint/cli": "^17.8.1", "@emotion/jest": "^11.11.0", "@emotion/styled": "^11.11.0", @@ -96,7 +96,7 @@ "@types/testing-library__jest-dom": "^5.14.9", "@umijs/lint": "^4.1.5", "@vitest/coverage-v8": "0.34.6", - "antd": "^5.15.3", + "antd": "^5.21.1", "babel-plugin-antd-style": "^1.0.4", "chalk": "^4.1.2", "classnames": "^2.5.1", diff --git a/tests/functions/__snapshots__/createInstance.test.tsx.snap b/tests/functions/__snapshots__/createInstance.test.tsx.snap index 55b4569d..e32c2318 100644 --- a/tests/functions/__snapshots__/createInstance.test.tsx.snap +++ b/tests/functions/__snapshots__/createInstance.test.tsx.snap @@ -12,7 +12,7 @@ exports[`createInstance > 自定义 prefixCls 时,会采用 instance 的 prefi }