From eae913a82c805b32ed10e307aa170b49cea7dd51 Mon Sep 17 00:00:00 2001 From: David FYON Date: Tue, 23 Jul 2024 16:09:25 +0200 Subject: [PATCH] fix warnings --- .../__snapshots__/FormBuilder.spec.ts.snap | 30 +++++++++---------- .../__snapshots__/ChoiceField.spec.ts.snap | 6 ++-- .../ChoiceSliderField.spec.ts.snap | 6 ++-- .../__snapshots__/RangeField.spec.ts.snap | 12 ++++---- .../__snapshots__/FormFieldList.spec.ts.snap | 4 +-- .../tests/__snapshots__/NirField.spec.ts.snap | 14 ++++----- .../__snapshots__/PaginatedTable.spec.ts.snap | 4 +-- .../__snapshots__/PeriodField.spec.ts.snap | 2 +- .../__snapshots__/PhoneField.spec.ts.snap | 2 +- .../__snapshots__/RangeField.spec.ts.snap | 12 ++++---- .../__snapshots__/EmotionPicker.spec.ts.snap | 4 +-- .../__snapshots__/NumberPicker.spec.ts.snap | 4 +-- .../__snapshots__/StarsPicker.spec.ts.snap | 2 +- .../__snapshots__/RatingPicker.spec.ts.snap | 2 +- .../SearchListField.spec.ts.snap | 2 +- packages/synapse-bridge/vitest.config.ts | 1 + 16 files changed, 54 insertions(+), 53 deletions(-) diff --git a/packages/synapse-bridge/src/form-builder/FormBuilder/tests/__snapshots__/FormBuilder.spec.ts.snap b/packages/synapse-bridge/src/form-builder/FormBuilder/tests/__snapshots__/FormBuilder.spec.ts.snap index 18c3437c01..b11bc9637e 100644 --- a/packages/synapse-bridge/src/form-builder/FormBuilder/tests/__snapshots__/FormBuilder.spec.ts.snap +++ b/packages/synapse-bridge/src/form-builder/FormBuilder/tests/__snapshots__/FormBuilder.spec.ts.snap @@ -81,7 +81,7 @@ exports[`FormBuilder > renders correctly 1`] = ` - + @@ -300,7 +300,7 @@ exports[`FormBuilder > renders correctly 1`] = ` - + @@ -367,7 +367,7 @@ exports[`FormBuilder > renders correctly 1`] = ` - + @@ -437,7 +437,7 @@ exports[`FormBuilder > renders correctly 1`] = `
-
9h
+
9h
@@ -497,7 +497,7 @@ exports[`FormBuilder > renders correctly 1`] = `
- +
@@ -536,7 +536,7 @@ exports[`FormBuilder > renders correctly 1`] = `
-
+
@@ -588,7 +588,7 @@ exports[`FormBuilder > renders correctly 1`] = `
-
+
@@ -627,7 +627,7 @@ exports[`FormBuilder > renders correctly 1`] = `
-
+
@@ -696,7 +696,7 @@ exports[`FormBuilder > renders correctly 1`] = `
9h
-
+
@@ -861,7 +861,7 @@ exports[`FormBuilder > renders correctly 1`] = ` - +
@@ -917,7 +917,7 @@ exports[`FormBuilder > renders correctly 1`] = `
-
Autre
+
Autre
@@ -971,7 +971,7 @@ exports[`FormBuilder > renders correctly 1`] = ` - +
@@ -1028,7 +1028,7 @@ exports[`FormBuilder > renders correctly 1`] = ` - +
@@ -1066,7 +1066,7 @@ exports[`FormBuilder > renders correctly 1`] = ` - +
@@ -1087,7 +1087,7 @@ exports[`FormBuilder > renders correctly 1`] = `
-
+
diff --git a/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/ChoiceField.spec.ts.snap b/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/ChoiceField.spec.ts.snap index bdc697e1ec..7accdbf6eb 100644 --- a/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/ChoiceField.spec.ts.snap +++ b/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/ChoiceField.spec.ts.snap @@ -31,7 +31,7 @@ exports[`ChoiceField > renders correctly 1`] = `
-
0
+
0
@@ -95,7 +95,7 @@ exports[`ChoiceField > renders the other field 1`] = `
-
Autre
+
Autre
@@ -206,7 +206,7 @@ exports[`ChoiceField > renders the other field when the corresponding choice is
-
Autre
+
Autre
diff --git a/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/ChoiceSliderField.spec.ts.snap b/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/ChoiceSliderField.spec.ts.snap index ffedafdf3b..f3d5afbb33 100644 --- a/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/ChoiceSliderField.spec.ts.snap +++ b/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/ChoiceSliderField.spec.ts.snap @@ -4,7 +4,7 @@ exports[`ChoiceSliderField > render correctly in multiple mode 1`] = `
-
+
@@ -37,7 +37,7 @@ exports[`ChoiceSliderField > should render correctly 1`] = `
-
+
@@ -75,7 +75,7 @@ exports[`ChoiceSliderField > should toggle the item 1`] = `
-
+
diff --git a/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/RangeField.spec.ts.snap b/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/RangeField.spec.ts.snap index fb2343d098..416c17d362 100644 --- a/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/RangeField.spec.ts.snap +++ b/packages/synapse-bridge/src/form-builder/FormField/fields/tests/__snapshots__/RangeField.spec.ts.snap @@ -32,7 +32,7 @@ exports[`ChoiceSliderField > render correctly in multiple mode 1`] = ` - +
@@ -70,7 +70,7 @@ exports[`ChoiceSliderField > render correctly in multiple mode 1`] = ` - +
@@ -91,7 +91,7 @@ exports[`ChoiceSliderField > render correctly in multiple mode 1`] = `
-
+
@@ -162,7 +162,7 @@ exports[`ChoiceSliderField > should render correctly 1`] = ` - +
@@ -200,7 +200,7 @@ exports[`ChoiceSliderField > should render correctly 1`] = ` - +
@@ -221,7 +221,7 @@ exports[`ChoiceSliderField > should render correctly 1`] = `
-
+
diff --git a/packages/synapse-bridge/src/form-builder/FormFieldList/tests/__snapshots__/FormFieldList.spec.ts.snap b/packages/synapse-bridge/src/form-builder/FormFieldList/tests/__snapshots__/FormFieldList.spec.ts.snap index a7897f6fe2..4e74cb695a 100644 --- a/packages/synapse-bridge/src/form-builder/FormFieldList/tests/__snapshots__/FormFieldList.spec.ts.snap +++ b/packages/synapse-bridge/src/form-builder/FormFieldList/tests/__snapshots__/FormFieldList.spec.ts.snap @@ -86,7 +86,7 @@ exports[`FormFieldList > renders correctly 1`] = `
- +
@@ -146,7 +146,7 @@ exports[`FormFieldList > renders correctly 1`] = `
- +
diff --git a/packages/synapse-bridge/src/patterns/NirField/tests/__snapshots__/NirField.spec.ts.snap b/packages/synapse-bridge/src/patterns/NirField/tests/__snapshots__/NirField.spec.ts.snap index f18bc7e4b5..38e6ecbad3 100644 --- a/packages/synapse-bridge/src/patterns/NirField/tests/__snapshots__/NirField.spec.ts.snap +++ b/packages/synapse-bridge/src/patterns/NirField/tests/__snapshots__/NirField.spec.ts.snap @@ -28,7 +28,7 @@ exports[`NirField > renders correctly 1`] = ` - +
@@ -72,7 +72,7 @@ exports[`NirField > renders correctly 1`] = ` - +
@@ -134,7 +134,7 @@ exports[`NirField > renders correctly with 13 characters 1`] = ` - +
@@ -197,7 +197,7 @@ exports[`NirField > renders correctly with a tooltip 1`] = ` - +
@@ -241,7 +241,7 @@ exports[`NirField > renders correctly with a tooltip 1`] = ` - +
@@ -304,7 +304,7 @@ exports[`NirField > renders correctly with outlined prop 1`] = ` - +
@@ -351,7 +351,7 @@ exports[`NirField > renders correctly with outlined prop 1`] = ` - +
diff --git a/packages/synapse-bridge/src/patterns/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap b/packages/synapse-bridge/src/patterns/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap index bf22461821..6dc159d630 100644 --- a/packages/synapse-bridge/src/patterns/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap +++ b/packages/synapse-bridge/src/patterns/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap @@ -71,7 +71,7 @@ exports[`PaginatedTable > render correctly in server mode 1`] = `
-
10
+
10
@@ -212,7 +212,7 @@ exports[`PaginatedTable > renders correctly in local mode 1`] = `
-
10
+
10
diff --git a/packages/synapse-bridge/src/patterns/PeriodField/tests/__snapshots__/PeriodField.spec.ts.snap b/packages/synapse-bridge/src/patterns/PeriodField/tests/__snapshots__/PeriodField.spec.ts.snap index 8af4f09b8f..6b04752986 100644 --- a/packages/synapse-bridge/src/patterns/PeriodField/tests/__snapshots__/PeriodField.spec.ts.snap +++ b/packages/synapse-bridge/src/patterns/PeriodField/tests/__snapshots__/PeriodField.spec.ts.snap @@ -31,7 +31,7 @@ exports[`PeriodField > should render the component 1`] = ` - +
diff --git a/packages/synapse-bridge/src/patterns/PhoneField/tests/__snapshots__/PhoneField.spec.ts.snap b/packages/synapse-bridge/src/patterns/PhoneField/tests/__snapshots__/PhoneField.spec.ts.snap index e6d48319a2..cb33143bca 100644 --- a/packages/synapse-bridge/src/patterns/PhoneField/tests/__snapshots__/PhoneField.spec.ts.snap +++ b/packages/synapse-bridge/src/patterns/PhoneField/tests/__snapshots__/PhoneField.spec.ts.snap @@ -180,7 +180,7 @@ exports[`PhoneField > renders correctly with value prop 1`] = ` - +
diff --git a/packages/synapse-bridge/src/patterns/RangeField/tests/__snapshots__/RangeField.spec.ts.snap b/packages/synapse-bridge/src/patterns/RangeField/tests/__snapshots__/RangeField.spec.ts.snap index 01aebd289a..d99b5d790d 100644 --- a/packages/synapse-bridge/src/patterns/RangeField/tests/__snapshots__/RangeField.spec.ts.snap +++ b/packages/synapse-bridge/src/patterns/RangeField/tests/__snapshots__/RangeField.spec.ts.snap @@ -27,7 +27,7 @@ exports[`RangeField > renders correctly 1`] = ` - +
@@ -65,7 +65,7 @@ exports[`RangeField > renders correctly 1`] = ` - +
@@ -86,7 +86,7 @@ exports[`RangeField > renders correctly 1`] = `
-
+
@@ -150,7 +150,7 @@ exports[`RangeField > renders correctly with outlined prop 1`] = ` - +
@@ -191,7 +191,7 @@ exports[`RangeField > renders correctly with outlined prop 1`] = ` - +
@@ -216,7 +216,7 @@ exports[`RangeField > renders correctly with outlined prop 1`] = `
-
+
diff --git a/packages/synapse-bridge/src/patterns/RatingPicker/EmotionPicker/tests/__snapshots__/EmotionPicker.spec.ts.snap b/packages/synapse-bridge/src/patterns/RatingPicker/EmotionPicker/tests/__snapshots__/EmotionPicker.spec.ts.snap index 7031ba81fe..2baf9fe188 100644 --- a/packages/synapse-bridge/src/patterns/RatingPicker/EmotionPicker/tests/__snapshots__/EmotionPicker.spec.ts.snap +++ b/packages/synapse-bridge/src/patterns/RatingPicker/EmotionPicker/tests/__snapshots__/EmotionPicker.spec.ts.snap @@ -5,7 +5,7 @@ exports[`EmotionPicker > renders correctly 1`] = ` Pourriez-vous donner une note ?
+
diff --git a/packages/synapse-bridge/src/patterns/RatingPicker/StarsPicker/tests/__snapshots__/StarsPicker.spec.ts.snap b/packages/synapse-bridge/src/patterns/RatingPicker/StarsPicker/tests/__snapshots__/StarsPicker.spec.ts.snap index 928f762edf..dfc3097ee3 100644 --- a/packages/synapse-bridge/src/patterns/RatingPicker/StarsPicker/tests/__snapshots__/StarsPicker.spec.ts.snap +++ b/packages/synapse-bridge/src/patterns/RatingPicker/StarsPicker/tests/__snapshots__/StarsPicker.spec.ts.snap @@ -5,7 +5,7 @@ exports[`StarsPicker > renders correctly 1`] = ` Pourriez-vous donner une note ?
+
diff --git a/packages/synapse-bridge/src/patterns/RatingPicker/tests/__snapshots__/RatingPicker.spec.ts.snap b/packages/synapse-bridge/src/patterns/RatingPicker/tests/__snapshots__/RatingPicker.spec.ts.snap index a2cfb63a53..f6c600a22b 100644 --- a/packages/synapse-bridge/src/patterns/RatingPicker/tests/__snapshots__/RatingPicker.spec.ts.snap +++ b/packages/synapse-bridge/src/patterns/RatingPicker/tests/__snapshots__/RatingPicker.spec.ts.snap @@ -7,7 +7,7 @@ exports[`RatingPicker > renders correctly 1`] = `
+