From 80e77225a43af8ab6ccc1a088a6f10fa9bab9964 Mon Sep 17 00:00:00 2001
From: ONLY-yours <1349021570@qq.com>
Date: Mon, 9 Oct 2023 11:19:13 +0800
Subject: [PATCH] :camera_flash: fix: update snapshot
---
package.json | 1 -
tests/__snapshots__/demo.test.tsx.snap | 66 +++++++++++++++++++-------
tsconfig.json | 10 +---
3 files changed, 51 insertions(+), 26 deletions(-)
diff --git a/package.json b/package.json
index f4a9cc27..1b40e61a 100644
--- a/package.json
+++ b/package.json
@@ -94,7 +94,6 @@
"lodash.uniq": "^4.5.0",
"mockjs": "^1.1.0",
"polished": "^4.2.2",
- "prettier": "^2.8.8",
"re-resizable": "^6.9.11",
"react-colorful": "^5.6.1",
"react-copy-to-clipboard": "^5.1.0",
diff --git a/tests/__snapshots__/demo.test.tsx.snap b/tests/__snapshots__/demo.test.tsx.snap
index 1d9876c3..0d06b83b 100644
--- a/tests/__snapshots__/demo.test.tsx.snap
+++ b/tests/__snapshots__/demo.test.tsx.snap
@@ -16,6 +16,10 @@ exports[` > renders basic.tsx correctly 1`] = `
-ms-flex-direction: row;
flex-direction: row;
border-radius: 6px;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
}
.emotion-1 {
@@ -180,6 +184,10 @@ exports[` > renders config.tsx correctly 1`] = `
-ms-flex-direction: row;
flex-direction: row;
border-radius: 6px;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
}
.emotion-1 {
@@ -300,6 +308,11 @@ exports[` > renders config.tsx correctly 1`] = `
+
> renders custom.tsx correctly 1`] = `
-ms-flex-direction: row;
flex-direction: row;
border-radius: 6px;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
}
.emotion-1 {
@@ -874,6 +891,10 @@ exports[` > renders dropMenu.tsx correctly 1`] = `
-ms-flex-direction: row;
flex-direction: row;
border-radius: 6px;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
}
.emotion-1 {
@@ -1066,6 +1087,10 @@ exports[` > renders type.tsx correctly 1`] = `
-ms-flex-direction: row;
flex-direction: row;
border-radius: 6px;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
}
.emotion-1 {
@@ -1266,13 +1291,13 @@ exports[` > renders type.tsx correctly 1`] = `
class="studio-btn-icon"
>
> renders type.tsx correctly 1`] = `
width="1em"
>
@@ -1294,13 +1319,13 @@ exports[` > renders type.tsx correctly 1`] = `
class="studio-btn-icon"
>
> renders type.tsx correctly 1`] = `
width="1em"
>
@@ -1322,13 +1347,13 @@ exports[` > renders type.tsx correctly 1`] = `
class="studio-btn-icon"
>
> renders type.tsx correctly 1`] = `
width="1em"
>
+
> renders type.tsx correctly 1`] = `
class="studio-btn-icon"
>
> renders type.tsx correctly 1`] = `
width="1em"
>
@@ -1400,6 +1430,10 @@ exports[` > renders withPanel.tsx correctly 1`] = `
-ms-flex-direction: row;
flex-direction: row;
border-radius: 6px;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
}
.emotion-2 {
diff --git a/tsconfig.json b/tsconfig.json
index bb37e4c5..817e83bb 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -17,13 +17,5 @@
}
},
"exclude": ["node_modules", "dist"],
- "include": [
- "src",
- "config/config.ts",
- "vitest.config.ts",
- "docs",
- ".dumi/**/*",
- "tests",
- ".dumirc.ts"
- ]
+ "include": ["src", "config/config.ts", "vitest.config.ts", "docs", "tests", ".dumirc.ts"]
}