@@ -2576,22 +2576,37 @@ const meta = { title: 'My App' };
2576
2576
{
2577
2577
name : "select with option containing element" ,
2578
2578
source : `<select><option><span>Lemon</span></option></select>` ,
2579
+ transformOptions : transform.TransformOptions {
2580
+ ExperimentalExactParsingThingy : true ,
2581
+ },
2579
2582
},
2580
2583
{
2581
2584
name : "select with 2 options containing element" ,
2582
2585
source : `<select><option><span>Lemon</span></option><option><span>Lime</span></option></select>` ,
2586
+ transformOptions : transform.TransformOptions {
2587
+ ExperimentalExactParsingThingy : true ,
2588
+ },
2583
2589
},
2584
2590
{
2585
2591
name : "select with option containing element with div sibling" ,
2586
2592
source : `<select><option><span>Lemon</span></option></select><div>Orange</div>` ,
2593
+ transformOptions : transform.TransformOptions {
2594
+ ExperimentalExactParsingThingy : true ,
2595
+ },
2587
2596
},
2588
2597
{
2589
2598
name : "select with 2 options containing element with div sibling" ,
2590
2599
source : `<select><option><span>Lemon</span></option><option><span>Lime</span></option></select><div>Orange</div>` ,
2600
+ transformOptions : transform.TransformOptions {
2601
+ ExperimentalExactParsingThingy : true ,
2602
+ },
2591
2603
},
2592
2604
{
2593
2605
name : "select with option containing element and button containing selected content" ,
2594
2606
source : `<select><button><selectedcontent></selectedcontent></button><option><span>Lemon</span></option></select>` ,
2607
+ transformOptions : transform.TransformOptions {
2608
+ ExperimentalExactParsingThingy : true ,
2609
+ },
2595
2610
},
2596
2611
}
2597
2612
for _ , tt := range tests {
0 commit comments