Skip to content

Commit 3b9766b

Browse files
committed
test: add test case
1 parent 56f5bfa commit 3b9766b

14 files changed

+29
-2757
lines changed

package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,42 @@
22
"name": "@ant-design/v5-patch-for-react-19",
33
"version": "0.0.0",
44
"description": "Patch for antd v5 to support React 19",
5-
"engines": {
6-
"node": ">=12.x"
7-
},
85
"keywords": [
96
"antd",
107
"react"
118
],
129
"homepage": "https://github.com/ant-design/v5-patch-for-react-19",
13-
"author": "",
10+
"bugs": {
11+
"url": "https://github.com/ant-design/v5-patch-for-react-19/issues"
12+
},
1413
"repository": {
1514
"type": "git",
1615
"url": "https://github.com/ant-design/v5-patch-for-react-19.git"
1716
},
18-
"bugs": {
19-
"url": "https://github.com/ant-design/v5-patch-for-react-19/issues"
20-
},
17+
"license": "MIT",
18+
"author": "",
19+
"main": "./lib/index",
20+
"module": "./es/index",
2121
"files": [
2222
"es",
2323
"lib"
2424
],
25-
"license": "MIT",
26-
"main": "./lib/index",
27-
"module": "./es/index",
2825
"scripts": {
29-
"start": "dumi dev",
3026
"build": "dumi build",
3127
"compile": "father build",
32-
"prepublishOnly": "npm run compile && np --yolo --no-publish",
28+
"coverage": "rc-test --coverage",
3329
"lint": "eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js",
34-
"test": "rc-test",
35-
"coverage": "rc-test --coverage"
30+
"prepublishOnly": "npm run compile && np --yolo --no-publish",
31+
"start": "dumi dev",
32+
"test": "rc-test"
33+
},
34+
"dependencies": {
35+
"@babel/runtime": "^7.18.3"
3636
},
3737
"devDependencies": {
3838
"@rc-component/father-plugin": "^1.0.0",
3939
"@testing-library/jest-dom": "^5.16.4",
40-
"@testing-library/react": "^13.0.0",
40+
"@testing-library/react": "^16.1.0",
4141
"@types/classnames": "^2.2.10",
4242
"@types/jest": "^26.0.15",
4343
"@types/react": "^19.0.0",
@@ -54,12 +54,12 @@
5454
"regenerator-runtime": "^0.13.7",
5555
"typescript": "^4.0.0"
5656
},
57-
"dependencies": {
58-
"@babel/runtime": "^7.18.3"
59-
},
6057
"peerDependencies": {
6158
"antd": ">=5.22.6",
6259
"react": ">=19.0.0",
6360
"react-dom": ">=19.0.0"
61+
},
62+
"engines": {
63+
"node": ">=12.x"
6464
}
6565
}

tests/__snapshots__/mobile.test.tsx.snap

-14
This file was deleted.

tests/align.test.tsx

-213
This file was deleted.

0 commit comments

Comments
 (0)