From 6a564fd8a5aede51c84614efc30cfb87dfce5eda Mon Sep 17 00:00:00 2001 From: unix Date: Sat, 16 May 2020 22:57:10 +0800 Subject: [PATCH] test: update snapshots due to style change --- .../__tests__/__snapshots__/search.test.tsx.snap | 8 ++++++++ .../__tests__/__snapshots__/index.test.tsx.snap | 12 ++++++++++++ .../__tests__/__snapshots__/password.test.tsx.snap | 1 + 3 files changed, 21 insertions(+) diff --git a/components/auto-complete/__tests__/__snapshots__/search.test.tsx.snap b/components/auto-complete/__tests__/__snapshots__/search.test.tsx.snap index 71c9587..d31c075 100644 --- a/components/auto-complete/__tests__/__snapshots__/search.test.tsx.snap +++ b/components/auto-complete/__tests__/__snapshots__/search.test.tsx.snap @@ -135,6 +135,7 @@ initialize { outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -252,6 +253,7 @@ initialize { outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -556,6 +558,7 @@ initialize { outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -673,6 +676,7 @@ initialize { outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -973,6 +977,7 @@ initialize { outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -1090,6 +1095,7 @@ initialize { outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -1394,6 +1400,7 @@ initialize { outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -1511,6 +1518,7 @@ initialize { outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } diff --git a/components/input/__tests__/__snapshots__/index.test.tsx.snap b/components/input/__tests__/__snapshots__/index.test.tsx.snap index 32a888b..3567ca6 100644 --- a/components/input/__tests__/__snapshots__/index.test.tsx.snap +++ b/components/input/__tests__/__snapshots__/index.test.tsx.snap @@ -78,6 +78,7 @@ exports[`Input should be work with icon 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -180,6 +181,7 @@ exports[`Input should be work with icon 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -299,6 +301,7 @@ exports[`Input should be work with label 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -414,6 +417,7 @@ exports[`Input should be work with label 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -519,6 +523,7 @@ exports[`Input should be work with label 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -610,6 +615,7 @@ exports[`Input should work with different sizes 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -697,6 +703,7 @@ exports[`Input should work with different sizes 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -784,6 +791,7 @@ exports[`Input should work with different sizes 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -871,6 +879,7 @@ exports[`Input should work with different sizes 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -962,6 +971,7 @@ exports[`Input should work with different status 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -1049,6 +1059,7 @@ exports[`Input should work with different status 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } @@ -1136,6 +1147,7 @@ exports[`Input should work with different status 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; } diff --git a/components/input/__tests__/__snapshots__/password.test.tsx.snap b/components/input/__tests__/__snapshots__/password.test.tsx.snap index 23dacee..e0aca24 100644 --- a/components/input/__tests__/__snapshots__/password.test.tsx.snap +++ b/components/input/__tests__/__snapshots__/password.test.tsx.snap @@ -78,6 +78,7 @@ exports[`InputPassword should render correctly 1`] = ` outline: none; border-radius: 0; width: 100%; + min-width: 0; -webkit-appearance: none; }