@@ -2,6 +2,7 @@ import { run, html, css } from './util/run'
22
33test ( 'partial arbitrary variants' , ( ) => {
44 let config = {
5+ experimental : { matchVariant : true } ,
56 content : [
67 {
78 raw : html `<div class= "potato-[yellow]:bg-yellow-200 potato-[baked]:w-3" > </ div> ` ,
@@ -37,6 +38,7 @@ test('partial arbitrary variants', () => {
3738
3839test ( 'partial arbitrary variants with at-rules' , ( ) => {
3940 let config = {
41+ experimental : { matchVariant : true } ,
4042 content : [
4143 {
4244 raw : html `<div class= "potato-[yellow]:bg-yellow-200 potato-[baked]:w-3" > </ div> ` ,
@@ -75,6 +77,7 @@ test('partial arbitrary variants with at-rules', () => {
7577
7678test ( 'partial arbitrary variants with at-rules and placeholder' , ( ) => {
7779 let config = {
80+ experimental : { matchVariant : true } ,
7881 content : [
7982 {
8083 raw : html `<div class= "potato-[yellow]:bg-yellow-200 potato-[baked]:w-3" > </ div> ` ,
@@ -113,6 +116,7 @@ test('partial arbitrary variants with at-rules and placeholder', () => {
113116
114117test ( 'partial arbitrary variants with default values' , ( ) => {
115118 let config = {
119+ experimental : { matchVariant : true } ,
116120 content : [
117121 {
118122 raw : html `<div class= "tooltip-bottom:mt-2 tooltip-top:mb-2" > </ div> ` ,
@@ -155,6 +159,7 @@ test('partial arbitrary variants with default values', () => {
155159
156160test ( 'matched variant values maintain the sort order they are registered in' , ( ) => {
157161 let config = {
162+ experimental : { matchVariant : true } ,
158163 content : [
159164 {
160165 raw : html `<div
@@ -209,6 +214,7 @@ test('matched variant values maintain the sort order they are registered in', ()
209214
210215test ( 'matchVariant can return an array of format strings from the function' , ( ) => {
211216 let config = {
217+ experimental : { matchVariant : true } ,
212218 content : [
213219 {
214220 raw : html `<div class= "test-[a,b,c]:underline" > </ div> ` ,
0 commit comments