@@ -84,9 +84,7 @@ describe('e2e: Transition', () => {
84
84
'v-enter-to'
85
85
] )
86
86
await transitionFinish ( )
87
- expect ( await html ( '#container' ) ) . toBe (
88
- '<div class="test" style="">content</div>'
89
- )
87
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
90
88
} ,
91
89
E2E_TIMEOUT
92
90
)
@@ -142,9 +140,7 @@ describe('e2e: Transition', () => {
142
140
'test-enter-to'
143
141
] )
144
142
await transitionFinish ( )
145
- expect ( await html ( '#container' ) ) . toBe (
146
- '<div class="test" style="">content</div>'
147
- )
143
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
148
144
} ,
149
145
E2E_TIMEOUT
150
146
)
@@ -205,9 +201,7 @@ describe('e2e: Transition', () => {
205
201
'hello-to'
206
202
] )
207
203
await transitionFinish ( )
208
- expect ( await html ( '#container' ) ) . toBe (
209
- '<div class="test" style="">content</div>'
210
- )
204
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
211
205
} ,
212
206
E2E_TIMEOUT
213
207
)
@@ -269,9 +263,7 @@ describe('e2e: Transition', () => {
269
263
'changed-enter-to'
270
264
] )
271
265
await transitionFinish ( )
272
- expect ( await html ( '#container' ) ) . toBe (
273
- '<div class="test" style="">content</div>'
274
- )
266
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
275
267
} ,
276
268
E2E_TIMEOUT
277
269
)
@@ -375,9 +367,7 @@ describe('e2e: Transition', () => {
375
367
] )
376
368
expect ( afterEnterSpy ) . not . toBeCalled ( )
377
369
await transitionFinish ( )
378
- expect ( await html ( '#container' ) ) . toBe (
379
- '<div class="test" style="">content</div>'
380
- )
370
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
381
371
expect ( afterEnterSpy ) . toBeCalled ( )
382
372
} ,
383
373
E2E_TIMEOUT
@@ -486,9 +476,7 @@ describe('e2e: Transition', () => {
486
476
'test-appear-to'
487
477
] )
488
478
await transitionFinish ( )
489
- expect ( await html ( '#container' ) ) . toBe (
490
- '<div class="test" style="">content</div>'
491
- )
479
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
492
480
493
481
// leave
494
482
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
@@ -518,9 +506,7 @@ describe('e2e: Transition', () => {
518
506
'test-enter-to'
519
507
] )
520
508
await transitionFinish ( )
521
- expect ( await html ( '#container' ) ) . toBe (
522
- '<div class="test" style="">content</div>'
523
- )
509
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
524
510
} ,
525
511
E2E_TIMEOUT
526
512
)
@@ -623,9 +609,7 @@ describe('e2e: Transition', () => {
623
609
] )
624
610
expect ( afterAppearSpy ) . not . toBeCalled ( )
625
611
await transitionFinish ( )
626
- expect ( await html ( '#container' ) ) . toBe (
627
- '<div class="test" style="">content</div>'
628
- )
612
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
629
613
expect ( afterAppearSpy ) . toBeCalled ( )
630
614
631
615
expect ( beforeEnterSpy ) . not . toBeCalled ( )
@@ -669,9 +653,7 @@ describe('e2e: Transition', () => {
669
653
] )
670
654
expect ( afterEnterSpy ) . not . toBeCalled ( )
671
655
await transitionFinish ( )
672
- expect ( await html ( '#container' ) ) . toBe (
673
- '<div class="test" style="">content</div>'
674
- )
656
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
675
657
expect ( afterEnterSpy ) . toBeCalled ( )
676
658
} ,
677
659
E2E_TIMEOUT
@@ -792,9 +774,7 @@ describe('e2e: Transition', () => {
792
774
'noop-enter-from'
793
775
] )
794
776
await nextFrame ( )
795
- expect ( await html ( '#container' ) ) . toBe (
796
- '<div class="" style="">content</div>'
797
- )
777
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="">content</div>' )
798
778
} ,
799
779
E2E_TIMEOUT
800
780
)
@@ -846,9 +826,7 @@ describe('e2e: Transition', () => {
846
826
'test-anim-enter-to'
847
827
] )
848
828
await transitionFinish ( )
849
- expect ( await html ( '#container' ) ) . toBe (
850
- '<div class="" style="">content</div>'
851
- )
829
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="">content</div>' )
852
830
} ,
853
831
E2E_TIMEOUT
854
832
)
@@ -910,9 +888,7 @@ describe('e2e: Transition', () => {
910
888
'test-anim-long-enter-to'
911
889
] )
912
890
await transitionFinish ( duration * 2 )
913
- expect ( await html ( '#container' ) ) . toBe (
914
- '<div class="" style="">content</div>'
915
- )
891
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="">content</div>' )
916
892
} ,
917
893
E2E_TIMEOUT
918
894
)
@@ -982,7 +958,7 @@ describe('e2e: Transition', () => {
982
958
] )
983
959
await transitionFinish ( )
984
960
expect ( await html ( '#container' ) ) . toBe (
985
- '<circle cx="0" cy="0" r="10" class="test" style="" ></circle>'
961
+ '<circle cx="0" cy="0" r="10" class="test"></circle>'
986
962
)
987
963
} ,
988
964
E2E_TIMEOUT
@@ -1040,9 +1016,7 @@ describe('e2e: Transition', () => {
1040
1016
'test-enter-to'
1041
1017
] )
1042
1018
await transitionFinish ( )
1043
- expect ( await html ( '#container' ) ) . toBe (
1044
- '<div class="test" style="">content</div>'
1045
- )
1019
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
1046
1020
} ,
1047
1021
E2E_TIMEOUT
1048
1022
)
@@ -1099,9 +1073,7 @@ describe('e2e: Transition', () => {
1099
1073
'test-enter-to'
1100
1074
] )
1101
1075
await transitionFinish ( )
1102
- expect ( await html ( '#container' ) ) . toBe (
1103
- '<div class="test" style="">two</div>'
1104
- )
1076
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">two</div>' )
1105
1077
1106
1078
// change view -> 'one'
1107
1079
await page ( ) . evaluate ( ( ) => {
@@ -1169,12 +1141,10 @@ describe('e2e: Transition', () => {
1169
1141
expect ( onEnterSpy ) . toBeCalledTimes ( 1 )
1170
1142
await nextFrame ( )
1171
1143
expect ( await html ( '#container' ) ) . toBe (
1172
- '<div class="test v-enter-active v-enter-to" style="" >content</div>'
1144
+ '<div class="test v-enter-active v-enter-to">content</div>'
1173
1145
)
1174
1146
await transitionFinish ( )
1175
- expect ( await html ( '#container' ) ) . toBe (
1176
- '<div class="test" style="">content</div>'
1177
- )
1147
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
1178
1148
1179
1149
// leave
1180
1150
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
@@ -1218,9 +1188,7 @@ describe('e2e: Transition', () => {
1218
1188
'v-enter-to'
1219
1189
] )
1220
1190
await transitionFinish ( )
1221
- expect ( await html ( '#container' ) ) . toBe (
1222
- '<div class="test" style="">content</div>'
1223
- )
1191
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
1224
1192
} ,
1225
1193
E2E_TIMEOUT
1226
1194
)
@@ -1279,9 +1247,7 @@ describe('e2e: Transition', () => {
1279
1247
'v-enter-to'
1280
1248
] )
1281
1249
await transitionFinish ( )
1282
- expect ( await html ( '#container' ) ) . toBe (
1283
- '<div class="test" style="">content</div>'
1284
- )
1250
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
1285
1251
} ,
1286
1252
E2E_TIMEOUT
1287
1253
)
@@ -1330,12 +1296,10 @@ describe('e2e: Transition', () => {
1330
1296
1331
1297
await nextFrame ( )
1332
1298
expect ( await html ( '#container' ) ) . toBe (
1333
- '<div class="test v-enter-active v-enter-to" style="" >one</div>'
1299
+ '<div class="test v-enter-active v-enter-to">one</div>'
1334
1300
)
1335
1301
await transitionFinish ( )
1336
- expect ( await html ( '#container' ) ) . toBe (
1337
- '<div class="test" style="">one</div>'
1338
- )
1302
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">one</div>' )
1339
1303
1340
1304
// leave
1341
1305
await classWhenTransitionStart ( )
@@ -1346,12 +1310,10 @@ describe('e2e: Transition', () => {
1346
1310
await transitionFinish ( )
1347
1311
await nextFrame ( )
1348
1312
expect ( await html ( '#container' ) ) . toBe (
1349
- '<div class="test v-enter-active v-enter-to" style="" >two</div>'
1313
+ '<div class="test v-enter-active v-enter-to">two</div>'
1350
1314
)
1351
1315
await transitionFinish ( )
1352
- expect ( await html ( '#container' ) ) . toBe (
1353
- '<div class="test" style="">two</div>'
1354
- )
1316
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">two</div>' )
1355
1317
} ,
1356
1318
E2E_TIMEOUT
1357
1319
)
@@ -1626,9 +1588,7 @@ describe('e2e: Transition', () => {
1626
1588
'test-appear-to'
1627
1589
] )
1628
1590
await transitionFinish ( )
1629
- expect ( await html ( '#container' ) ) . toBe (
1630
- '<div class="test" style="">content</div>'
1631
- )
1591
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
1632
1592
1633
1593
// leave
1634
1594
expect ( await classWhenTransitionStart ( ) ) . toStrictEqual ( [
@@ -1735,9 +1695,7 @@ describe('e2e: Transition', () => {
1735
1695
'test-enter-to'
1736
1696
] )
1737
1697
await transitionFinish ( duration * 2 )
1738
- expect ( await html ( '#container' ) ) . toBe (
1739
- '<div class="test" style="">content</div>'
1740
- )
1698
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
1741
1699
} ,
1742
1700
E2E_TIMEOUT
1743
1701
)
@@ -1793,9 +1751,7 @@ describe('e2e: Transition', () => {
1793
1751
'test-enter-to'
1794
1752
] )
1795
1753
await transitionFinish ( duration * 2 )
1796
- expect ( await html ( '#container' ) ) . toBe (
1797
- '<div class="test" style="">content</div>'
1798
- )
1754
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
1799
1755
} ,
1800
1756
E2E_TIMEOUT
1801
1757
)
@@ -1851,9 +1807,7 @@ describe('e2e: Transition', () => {
1851
1807
'test-enter-to'
1852
1808
] )
1853
1809
await transitionFinish ( )
1854
- expect ( await html ( '#container' ) ) . toBe (
1855
- '<div class="test" style="">content</div>'
1856
- )
1810
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
1857
1811
} ,
1858
1812
E2E_TIMEOUT
1859
1813
)
@@ -1912,9 +1866,7 @@ describe('e2e: Transition', () => {
1912
1866
'test-enter-to'
1913
1867
] )
1914
1868
await transitionFinish ( 200 )
1915
- expect ( await html ( '#container' ) ) . toBe (
1916
- '<div class="test" style="">content</div>'
1917
- )
1869
+ expect ( await html ( '#container' ) ) . toBe ( '<div class="test">content</div>' )
1918
1870
} ,
1919
1871
E2E_TIMEOUT
1920
1872
)
0 commit comments