Skip to content

Commit eb32ac0

Browse files
authored
fix: tests (#5476)
1 parent 8d11143 commit eb32ac0

File tree

2 files changed

+77
-840
lines changed

2 files changed

+77
-840
lines changed

packages/ui/src/components/Key/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 9 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,6 @@ exports[`Key > renders correctly 1`] = `
6363
height: 1.25rem;
6464
}
6565
66-
.emotion-2 {
67-
color: #3f4250;
68-
font-size: 0.75rem;
69-
font-family: Inter,sans-serif;
70-
font-weight: 400;
71-
letter-spacing: 0;
72-
line-height: 1rem;
73-
text-transform: none;
74-
-webkit-text-decoration: none;
75-
text-decoration: none;
76-
}
77-
7866
<div
7967
data-testid="testing"
8068
>
@@ -85,7 +73,7 @@ exports[`Key > renders correctly 1`] = `
8573
data-size="medium"
8674
>
8775
<span
88-
class="emotion-2 emotion-3"
76+
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_neutral__m4c9owb style_prominence_default__m4c9owi style_variant_caption__m4c9ows style_disabled_false__m4c9ow1b style_undefined_compound_24__m4c9ow20 style_undefined_compound_72__m4c9ow3c"
8977
>
9078
A
9179
</span>
@@ -157,18 +145,6 @@ exports[`Key > renders disabled 1`] = `
157145
height: 1.25rem;
158146
}
159147
160-
.emotion-2 {
161-
color: #b5b7bd;
162-
font-size: 0.75rem;
163-
font-family: Inter,sans-serif;
164-
font-weight: 400;
165-
letter-spacing: 0;
166-
line-height: 1rem;
167-
text-transform: none;
168-
-webkit-text-decoration: none;
169-
text-decoration: none;
170-
}
171-
172148
<div
173149
data-testid="testing"
174150
>
@@ -180,7 +156,7 @@ exports[`Key > renders disabled 1`] = `
180156
data-size="medium"
181157
>
182158
<span
183-
class="emotion-2 emotion-3"
159+
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_neutral__m4c9owb style_prominence_default__m4c9owi style_variant_caption__m4c9ows style_disabled_true__m4c9ow1a style_undefined_compound_60__m4c9ow30"
184160
>
185161
A
186162
</span>
@@ -252,18 +228,6 @@ exports[`Key > renders disabled primary 1`] = `
252228
height: 1.25rem;
253229
}
254230
255-
.emotion-2 {
256-
color: #d8c5fc;
257-
font-size: 0.75rem;
258-
font-family: Inter,sans-serif;
259-
font-weight: 400;
260-
letter-spacing: 0;
261-
line-height: 1rem;
262-
text-transform: none;
263-
-webkit-text-decoration: none;
264-
text-decoration: none;
265-
}
266-
267231
<div
268232
data-testid="testing"
269233
>
@@ -275,7 +239,7 @@ exports[`Key > renders disabled primary 1`] = `
275239
data-size="medium"
276240
>
277241
<span
278-
class="emotion-2 emotion-3"
242+
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_default__m4c9owi style_variant_caption__m4c9ows style_disabled_true__m4c9ow1a style_undefined_compound_36__m4c9ow2c"
279243
>
280244
A
281245
</span>
@@ -347,18 +311,6 @@ exports[`Key > renders disabled strong 1`] = `
347311
height: 1.25rem;
348312
}
349313
350-
.emotion-2 {
351-
color: #b5b7bd;
352-
font-size: 0.75rem;
353-
font-family: Inter,sans-serif;
354-
font-weight: 400;
355-
letter-spacing: 0;
356-
line-height: 1rem;
357-
text-transform: none;
358-
-webkit-text-decoration: none;
359-
text-decoration: none;
360-
}
361-
362314
<div
363315
data-testid="testing"
364316
>
@@ -370,7 +322,7 @@ exports[`Key > renders disabled strong 1`] = `
370322
data-size="medium"
371323
>
372324
<span
373-
class="emotion-2 emotion-3"
325+
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_neutral__m4c9owb style_prominence_stronger__m4c9owk style_variant_caption__m4c9ows style_disabled_true__m4c9ow1a style_undefined_compound_62__m4c9ow32"
374326
>
375327
A
376328
</span>
@@ -442,18 +394,6 @@ exports[`Key > renders disabled strong primary 1`] = `
442394
height: 1.25rem;
443395
}
444396
445-
.emotion-2 {
446-
color: #ffffff;
447-
font-size: 0.75rem;
448-
font-family: Inter,sans-serif;
449-
font-weight: 400;
450-
letter-spacing: 0;
451-
line-height: 1rem;
452-
text-transform: none;
453-
-webkit-text-decoration: none;
454-
text-decoration: none;
455-
}
456-
457397
<div
458398
data-testid="testing"
459399
>
@@ -465,7 +405,7 @@ exports[`Key > renders disabled strong primary 1`] = `
465405
data-size="medium"
466406
>
467407
<span
468-
class="emotion-2 emotion-3"
408+
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_strong__m4c9owj style_variant_caption__m4c9ows style_disabled_true__m4c9ow1a style_undefined_compound_37__m4c9ow2d"
469409
>
470410
A
471411
</span>
@@ -537,18 +477,6 @@ exports[`Key > renders primary 1`] = `
537477
height: 1.25rem;
538478
}
539479
540-
.emotion-2 {
541-
color: #641cb3;
542-
font-size: 0.75rem;
543-
font-family: Inter,sans-serif;
544-
font-weight: 400;
545-
letter-spacing: 0;
546-
line-height: 1rem;
547-
text-transform: none;
548-
-webkit-text-decoration: none;
549-
text-decoration: none;
550-
}
551-
552480
<div
553481
data-testid="testing"
554482
>
@@ -559,7 +487,7 @@ exports[`Key > renders primary 1`] = `
559487
data-size="medium"
560488
>
561489
<span
562-
class="emotion-2 emotion-3"
490+
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_default__m4c9owi style_variant_caption__m4c9ows style_disabled_false__m4c9ow1b style_undefined_compound_0__m4c9ow1c style_undefined_compound_72__m4c9ow3c"
563491
>
564492
A
565493
</span>
@@ -631,18 +559,6 @@ exports[`Key > renders small 1`] = `
631559
height: 1.25rem;
632560
}
633561
634-
.emotion-2 {
635-
color: #3f4250;
636-
font-size: 0.625rem;
637-
font-family: Inter,sans-serif;
638-
font-weight: 400;
639-
letter-spacing: 0;
640-
line-height: 1rem;
641-
text-transform: none;
642-
-webkit-text-decoration: none;
643-
text-decoration: none;
644-
}
645-
646562
<div
647563
data-testid="testing"
648564
>
@@ -653,7 +569,7 @@ exports[`Key > renders small 1`] = `
653569
data-size="small"
654570
>
655571
<span
656-
class="emotion-2 emotion-3"
572+
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_neutral__m4c9owb style_prominence_default__m4c9owi style_variant_captionSmall__m4c9owt style_disabled_false__m4c9ow1b style_undefined_compound_24__m4c9ow20 style_undefined_compound_72__m4c9ow3c"
657573
>
658574
A
659575
</span>
@@ -725,18 +641,6 @@ exports[`Key > renders strong 1`] = `
725641
height: 1.25rem;
726642
}
727643
728-
.emotion-2 {
729-
color: #ffffff;
730-
font-size: 0.75rem;
731-
font-family: Inter,sans-serif;
732-
font-weight: 400;
733-
letter-spacing: 0;
734-
line-height: 1rem;
735-
text-transform: none;
736-
-webkit-text-decoration: none;
737-
text-decoration: none;
738-
}
739-
740644
<div
741645
data-testid="testing"
742646
>
@@ -747,7 +651,7 @@ exports[`Key > renders strong 1`] = `
747651
data-size="medium"
748652
>
749653
<span
750-
class="emotion-2 emotion-3"
654+
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_neutral__m4c9owb style_prominence_stronger__m4c9owk style_variant_caption__m4c9ows style_disabled_false__m4c9ow1b style_undefined_compound_26__m4c9ow22 style_undefined_compound_74__m4c9ow3e"
751655
>
752656
A
753657
</span>
@@ -819,18 +723,6 @@ exports[`Key > renders strong primary 1`] = `
819723
height: 1.25rem;
820724
}
821725
822-
.emotion-2 {
823-
color: #ffffff;
824-
font-size: 0.75rem;
825-
font-family: Inter,sans-serif;
826-
font-weight: 400;
827-
letter-spacing: 0;
828-
line-height: 1rem;
829-
text-transform: none;
830-
-webkit-text-decoration: none;
831-
text-decoration: none;
832-
}
833-
834726
<div
835727
data-testid="testing"
836728
>
@@ -841,7 +733,7 @@ exports[`Key > renders strong primary 1`] = `
841733
data-size="medium"
842734
>
843735
<span
844-
class="emotion-2 emotion-3"
736+
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_primary__m4c9ow9 style_prominence_strong__m4c9owj style_variant_caption__m4c9ows style_disabled_false__m4c9ow1b style_undefined_compound_1__m4c9ow1d style_undefined_compound_73__m4c9ow3d"
845737
>
846738
A
847739
</span>

0 commit comments

Comments
 (0)