From e386b0298219f08d243eb6c7abf80fe20d4fb2ca Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 17 Oct 2024 10:10:01 +0800 Subject: [PATCH] test: fix snapshot --- .dumirc.ts | 4 +- .../Select.checkable.spec.tsx.snap | 470 +++++++++--------- .../Select.multiple.spec.js.snap | 66 +-- tests/__snapshots__/Select.spec.tsx.snap | 452 +++++++++-------- 4 files changed, 526 insertions(+), 466 deletions(-) diff --git a/.dumirc.ts b/.dumirc.ts index a5ffe351..f140eae2 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -7,8 +7,8 @@ export default defineConfig({ logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4', }, exportStatic: {}, - base: '/tree-select/', - publicPath: '/tree-select/', + base: '/', + publicPath: '/', styles: [ ` .markdown table { diff --git a/tests/__snapshots__/Select.checkable.spec.tsx.snap b/tests/__snapshots__/Select.checkable.spec.tsx.snap index 5fc75a90..1f498737 100644 --- a/tests/__snapshots__/Select.checkable.spec.tsx.snap +++ b/tests/__snapshots__/Select.checkable.spec.tsx.snap @@ -8,121 +8,125 @@ exports[`TreeSelect.checkable uncheck remove by selector not treeCheckStrictly 1
-
- - 0 - - - -
-
- +
- 0-0 - - - -
-
- +
- 0-0-0 - - - -
-
+
-
+
-
-
- + +
-
- - 0 - - - -
-
- +
- 0-0 - - - -
-
- +
- 0-0-0 - - - -
-
+
-
+
-
-
+
-
-
- + + `; diff --git a/tests/__snapshots__/Select.spec.tsx.snap b/tests/__snapshots__/Select.spec.tsx.snap index 5b633006..1442f0c2 100644 --- a/tests/__snapshots__/Select.spec.tsx.snap +++ b/tests/__snapshots__/Select.spec.tsx.snap @@ -8,28 +8,32 @@ exports[`TreeSelect.basic render renders TreeNode correctly 1`] = ` class="rc-tree-select-selector" > - + + + -
- + + + -
-
-
- + + `; @@ -455,29 +467,33 @@ exports[`TreeSelect.basic render renders disabled correctly 1`] = ` class="rc-tree-select-selector" > - + + + - `; @@ -489,45 +505,49 @@ exports[`TreeSelect.basic render renders tree correctly 1`] = `
-
-
- + + `; @@ -541,28 +561,32 @@ exports[`TreeSelect.basic render renders treeDataSimpleMode correctly 1`] = ` class="rc-tree-select-selector" > - + + + -
- + + + -
- + + + -
- + + + -
- + + + -