Skip to content

Commit db5fc0a

Browse files
authored
Fix snapshots (#4090)
* Fix tests * Changesets
1 parent 196cbea commit db5fc0a

File tree

4 files changed

+20
-16
lines changed

4 files changed

+20
-16
lines changed

.changeset/beige-brooms-joke.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@fluentui-react-native/experimental-menu-button": patch
3+
"@fluentui-react-native/overflow": patch
4+
"@fluentui-react-native/menu": patch
5+
---
6+
7+
Update snapshots

packages/components/Menu/src/__tests__/__snapshots__/Menu.test.tsx.snap

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ exports[`Menu component tests Menu alwaysShowToolTip 1`] = `
7676
"justifyContent": "center",
7777
"minHeight": 24,
7878
"minWidth": 64,
79-
"overflow": "hidden",
79+
"overflow": undefined,
8080
"padding": 3,
8181
"paddingHorizontal": 7,
8282
"width": undefined,
@@ -183,7 +183,7 @@ exports[`Menu component tests Menu default 1`] = `
183183
"justifyContent": "center",
184184
"minHeight": 24,
185185
"minWidth": 64,
186-
"overflow": "hidden",
186+
"overflow": undefined,
187187
"padding": 3,
188188
"paddingHorizontal": 7,
189189
"width": undefined,
@@ -289,7 +289,7 @@ exports[`Menu component tests Menu defaultOpen 1`] = `
289289
"justifyContent": "center",
290290
"minHeight": 24,
291291
"minWidth": 64,
292-
"overflow": "hidden",
292+
"overflow": undefined,
293293
"padding": 3,
294294
"paddingHorizontal": 7,
295295
"width": undefined,
@@ -395,7 +395,7 @@ exports[`Menu component tests Menu defaultOpen with disabled 1`] = `
395395
"justifyContent": "center",
396396
"minHeight": 24,
397397
"minWidth": 64,
398-
"overflow": "hidden",
398+
"overflow": undefined,
399399
"padding": 3,
400400
"paddingHorizontal": 7,
401401
"width": undefined,
@@ -501,7 +501,7 @@ exports[`Menu component tests Menu open 1`] = `
501501
"justifyContent": "center",
502502
"minHeight": 24,
503503
"minWidth": 64,
504-
"overflow": "hidden",
504+
"overflow": undefined,
505505
"padding": 3,
506506
"paddingHorizontal": 7,
507507
"width": undefined,
@@ -607,7 +607,7 @@ exports[`Menu component tests Menu open checkbox and divider 1`] = `
607607
"justifyContent": "center",
608608
"minHeight": 24,
609609
"minWidth": 64,
610-
"overflow": "hidden",
610+
"overflow": undefined,
611611
"padding": 3,
612612
"paddingHorizontal": 7,
613613
"width": undefined,
@@ -713,7 +713,7 @@ exports[`Menu component tests Menu open checkbox checked 1`] = `
713713
"justifyContent": "center",
714714
"minHeight": 24,
715715
"minWidth": 64,
716-
"overflow": "hidden",
716+
"overflow": undefined,
717717
"padding": 3,
718718
"paddingHorizontal": 7,
719719
"width": undefined,
@@ -819,7 +819,7 @@ exports[`Menu component tests Menu open checkbox defaultChecked 1`] = `
819819
"justifyContent": "center",
820820
"minHeight": 24,
821821
"minWidth": 64,
822-
"overflow": "hidden",
822+
"overflow": undefined,
823823
"padding": 3,
824824
"paddingHorizontal": 7,
825825
"width": undefined,
@@ -925,7 +925,7 @@ exports[`Menu component tests Menu open radio 1`] = `
925925
"justifyContent": "center",
926926
"minHeight": 24,
927927
"minWidth": 64,
928-
"overflow": "hidden",
928+
"overflow": undefined,
929929
"padding": 3,
930930
"paddingHorizontal": 7,
931931
"width": undefined,
@@ -1031,7 +1031,7 @@ exports[`Menu component tests Menu submenu 1`] = `
10311031
"justifyContent": "center",
10321032
"minHeight": 24,
10331033
"minWidth": 64,
1034-
"overflow": "hidden",
1034+
"overflow": undefined,
10351035
"padding": 3,
10361036
"paddingHorizontal": 7,
10371037
"width": undefined,
@@ -1137,7 +1137,7 @@ exports[`Menu open menu group and menu header 1`] = `
11371137
"justifyContent": "center",
11381138
"minHeight": 24,
11391139
"minWidth": 64,
1140-
"overflow": "hidden",
1140+
"overflow": undefined,
11411141
"padding": 3,
11421142
"paddingHorizontal": 7,
11431143
"width": undefined,

packages/experimental/MenuButton/src/__tests__/__snapshots__/MenuButton.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ exports[`ContextualMenu default 1`] = `
7777
"justifyContent": "center",
7878
"minHeight": 24,
7979
"minWidth": 64,
80-
"overflow": "hidden",
80+
"overflow": undefined,
8181
"padding": 3,
8282
"paddingHorizontal": 7,
8383
"width": undefined,

packages/experimental/Overflow/src/__tests__/__snapshots__/Overflow.test.tsx.snap

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ exports[`Overflow component tests Overflow default 1`] = `
8383
"minHeight": 24,
8484
"minWidth": 64,
8585
"opacity": 0,
86-
"overflow": "hidden",
8786
"padding": 3,
8887
"paddingHorizontal": 7,
8988
}
@@ -175,7 +174,6 @@ exports[`Overflow component tests Overflow default 1`] = `
175174
"minHeight": 24,
176175
"minWidth": 64,
177176
"opacity": 0,
178-
"overflow": "hidden",
179177
"padding": 3,
180178
"paddingHorizontal": 7,
181179
}
@@ -267,7 +265,6 @@ exports[`Overflow component tests Overflow default 1`] = `
267265
"minHeight": 24,
268266
"minWidth": 64,
269267
"opacity": 0,
270-
"overflow": "hidden",
271268
"padding": 3,
272269
"paddingHorizontal": 7,
273270
}
@@ -369,7 +366,7 @@ exports[`Overflow component tests Overflow default 1`] = `
369366
"justifyContent": "center",
370367
"minHeight": 24,
371368
"minWidth": 64,
372-
"overflow": "hidden",
369+
"overflow": undefined,
373370
"padding": 3,
374371
"paddingHorizontal": 7,
375372
"width": undefined,

0 commit comments

Comments
 (0)