Skip to content

Commit

Permalink
test: update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Jul 24, 2024
1 parent a3e3263 commit 143653d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions tests/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`ColorPicker > Should component onChange work on no control mode 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 41.372549019607845px; top: -50px; z-index: 1;"
style="position: absolute; left: 91.37254901960785%; top: 0%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="rc-color-picker-handler"
Expand All @@ -40,7 +40,7 @@ exports[`ColorPicker > Should component onChange work on no control mode 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 9.722222222222221px; top: -16.666666666666668px; z-index: 1;"
style="position: absolute; left: 59.72222222222222%; top: 50%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="rc-color-picker-handler rc-color-picker-handler-sm"
Expand All @@ -61,7 +61,7 @@ exports[`ColorPicker > Should component onChange work on no control mode 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 50px; top: -16.666666666666668px; z-index: 1;"
style="position: absolute; left: 100%; top: 50%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="rc-color-picker-handler rc-color-picker-handler-sm"
Expand Down Expand Up @@ -101,7 +101,7 @@ exports[`ColorPicker > Should component render correct 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 0px; top: 0px; z-index: 1;"
style="position: absolute; left: 91.37254901960785%; top: 0%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="rc-color-picker-handler"
Expand All @@ -128,7 +128,7 @@ exports[`ColorPicker > Should component render correct 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 0px; top: 0px; z-index: 1;"
style="position: absolute; left: 59.72222222222222%; top: 50%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="rc-color-picker-handler rc-color-picker-handler-sm"
Expand All @@ -149,7 +149,7 @@ exports[`ColorPicker > Should component render correct 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 0px; top: 0px; z-index: 1;"
style="position: absolute; left: 100%; top: 50%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="rc-color-picker-handler rc-color-picker-handler-sm"
Expand Down Expand Up @@ -192,7 +192,7 @@ exports[`ColorPicker > Should custom panel work 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 0px; top: 0px; z-index: 1;"
style="position: absolute; left: 91.37254901960785%; top: 0%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="rc-color-picker-handler"
Expand All @@ -219,7 +219,7 @@ exports[`ColorPicker > Should custom panel work 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 0px; top: 0px; z-index: 1;"
style="position: absolute; left: 59.72222222222222%; top: 50%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="rc-color-picker-handler rc-color-picker-handler-sm"
Expand All @@ -240,7 +240,7 @@ exports[`ColorPicker > Should custom panel work 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 0px; top: 0px; z-index: 1;"
style="position: absolute; left: 100%; top: 50%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="rc-color-picker-handler rc-color-picker-handler-sm"
Expand Down Expand Up @@ -281,7 +281,7 @@ exports[`ColorPicker > Should disabled alpha work 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 0px; top: 0px; z-index: 1;"
style="position: absolute; left: 91.37254901960785%; top: 0%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="rc-color-picker-handler"
Expand All @@ -308,7 +308,7 @@ exports[`ColorPicker > Should disabled alpha work 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 0px; top: 0px; z-index: 1;"
style="position: absolute; left: 59.72222222222222%; top: 50%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="rc-color-picker-handler rc-color-picker-handler-sm"
Expand Down Expand Up @@ -348,7 +348,7 @@ exports[`ColorPicker > Should prefixCls work 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 0px; top: 0px; z-index: 1;"
style="position: absolute; left: 91.37254901960785%; top: 0%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="test-prefixCls-handler"
Expand All @@ -375,7 +375,7 @@ exports[`ColorPicker > Should prefixCls work 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 0px; top: 0px; z-index: 1;"
style="position: absolute; left: 59.72222222222222%; top: 50%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="test-prefixCls-handler test-prefixCls-handler-sm"
Expand All @@ -396,7 +396,7 @@ exports[`ColorPicker > Should prefixCls work 1`] = `
style="position: relative;"
>
<div
style="position: absolute; left: 0px; top: 0px; z-index: 1;"
style="position: absolute; left: 100%; top: 50%; z-index: 1; transform: translate(-50%, -50%);"
>
<div
class="test-prefixCls-handler test-prefixCls-handler-sm"
Expand Down

0 comments on commit 143653d

Please sign in to comment.