From 764a293f933e77a27f9e80a2876ae00e1399bf79 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 30 Aug 2024 19:04:27 +0800 Subject: [PATCH] chore: fix @testing-library/dom --- package.json | 1 + pnpm-lock.yaml | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 85c1660e4e..71c90a126f 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "dependencies": { "@ant-design/icons": "^4.8.3", "@ant-design/pro-components": "^2.7.9", + "@testing-library/dom": "^10.4.0", "antd": "^5.18.0", "antd-style": "^3.6.2", "classnames": "^2.5.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2b305c553c..f4a492194c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,9 @@ importers: '@ant-design/pro-components': specifier: ^2.7.9 version: 2.7.15(antd@5.20.3(date-fns@2.30.0)(moment@2.30.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(rc-field-form@2.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@testing-library/dom': + specifier: ^10.4.0 + version: 10.4.0 antd: specifier: ^5.18.0 version: 5.20.3(date-fns@2.30.0)(moment@2.30.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -13168,7 +13171,7 @@ snapshots: '@loadable/component@5.15.2(react@18.3.1)': dependencies: - '@babel/runtime': 7.23.6 + '@babel/runtime': 7.25.6 hoist-non-react-statics: 3.3.2 react: 18.3.1 react-is: 16.13.1 @@ -14414,7 +14417,7 @@ snapshots: '@umijs/history@5.3.1': dependencies: - '@babel/runtime': 7.23.6 + '@babel/runtime': 7.25.6 query-string: 6.14.1 '@umijs/lint@4.3.18(eslint@8.35.0)(jest@29.7.0(@types/node@22.5.1)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.5.1)(typescript@5.5.4)))(stylelint@14.8.2)(typescript@5.5.4)':