From e891793a8a5a4e35d70ea4dc2b00f0970135b43e Mon Sep 17 00:00:00 2001 From: Tianxiao Wang Date: Fri, 22 Mar 2019 21:29:24 +0800 Subject: [PATCH] fix: test error (#1) * fix: test error * fix: ignore cjs files --- .eslintignore | 1 + .prettierignore | 1 + .../__snapshots__/FullScreenButtonItem.spec.js.snap | 8 ++++++-- .../Tooltip/__tests__/__snapshots__/Tooltip.spec.js.snap | 4 +--- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.eslintignore b/.eslintignore index 16951826..dadc716f 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1,3 @@ **/dist **/es +**/cjs diff --git a/.prettierignore b/.prettierignore index a99bdedb..b35bbe9c 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,3 +4,4 @@ lerna.json CHANGELOG.md **/dist **/es +**/cjs diff --git a/packages/griffith/src/components/Controller/items/__tests__/__snapshots__/FullScreenButtonItem.spec.js.snap b/packages/griffith/src/components/Controller/items/__tests__/__snapshots__/FullScreenButtonItem.spec.js.snap index 75a76bbe..a5309a1f 100644 --- a/packages/griffith/src/components/Controller/items/__tests__/__snapshots__/FullScreenButtonItem.spec.js.snap +++ b/packages/griffith/src/components/Controller/items/__tests__/__snapshots__/FullScreenButtonItem.spec.js.snap @@ -46,12 +46,16 @@ exports[`FullScreenButtonItem get FullScreenButtonItem component 1`] = ` className="fullScreenTooltip_1dwq0yf-o_O-menu_1a7s4a3-o_O-fullScreenTooltipWide_10ybo3o" >
- 退出全屏 + + Exit Fullscreen +
diff --git a/packages/griffith/src/components/Tooltip/__tests__/__snapshots__/Tooltip.spec.js.snap b/packages/griffith/src/components/Tooltip/__tests__/__snapshots__/Tooltip.spec.js.snap index fe5a6d52..d582aeff 100644 --- a/packages/griffith/src/components/Tooltip/__tests__/__snapshots__/Tooltip.spec.js.snap +++ b/packages/griffith/src/components/Tooltip/__tests__/__snapshots__/Tooltip.spec.js.snap @@ -3,7 +3,5 @@ exports[`Tooltip get Tooltip component 1`] = `
- 高清 -
+/> `;