From a44b35a7447b8a282abccd32640d47510a2963fa Mon Sep 17 00:00:00 2001 From: MuxinFeng <434980373@qq.com> Date: Wed, 7 Jun 2023 00:23:03 +0800 Subject: [PATCH] test: update test --- .../__snapshots__/demo-extend.test.ts.snap | 34 ++--- .../__snapshots__/demo-extend.test.ts.snap | 126 +++++++----------- .../__snapshots__/demo.test.tsx.snap | 126 +++++++----------- components/input-number/index.tsx | 4 +- .../__snapshots__/demo-extend.test.ts.snap | 2 +- 5 files changed, 116 insertions(+), 176 deletions(-) diff --git a/components/color-picker/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/color-picker/__tests__/__snapshots__/demo-extend.test.ts.snap index debbf67e2b..827b20ffdd 100644 --- a/components/color-picker/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/color-picker/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -300,7 +300,7 @@ Array [
-
- - - - - - + + -
-
- -
-
- + - +
+
+ +
diff --git a/components/form/__tests__/__snapshots__/demo.test.tsx.snap b/components/form/__tests__/__snapshots__/demo.test.tsx.snap index 002f4bbbf2..1d0d5df332 100644 --- a/components/form/__tests__/__snapshots__/demo.test.tsx.snap +++ b/components/form/__tests__/__snapshots__/demo.test.tsx.snap @@ -5976,14 +5976,14 @@ exports[`renders components/form/demo/register.tsx correctly 1`] = ` class="ant-form-item-control-input-content" >
-
- - - - - - + + -
-
- -
-
- + - +
+
+ +
diff --git a/components/input-number/index.tsx b/components/input-number/index.tsx index 55092e5b49..123b59c563 100644 --- a/components/input-number/index.tsx +++ b/components/input-number/index.tsx @@ -108,7 +108,7 @@ const InputNumber = React.forwardRef((props, ((props, ) } classNames={{ - input: inputNumberClass, + input: classNames(className, rootClassName, compactItemClassnames), }} classes={{ affixWrapper: classNames( diff --git a/components/watermark/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/watermark/__tests__/__snapshots__/demo-extend.test.ts.snap index 50e78ec725..4e5df1203a 100644 --- a/components/watermark/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/watermark/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -413,7 +413,7 @@ exports[`renders components/watermark/demo/custom.tsx extend context correctly 1