@@ -2,6 +2,7 @@ import { run, html, css } from './util/run'
2
2
3
3
test ( 'partial arbitrary variants' , ( ) => {
4
4
let config = {
5
+ experimental : { matchVariant : true } ,
5
6
content : [
6
7
{
7
8
raw : html `<div class= "potato-[yellow]:bg-yellow-200 potato-[baked]:w-3" > </ div> ` ,
@@ -37,6 +38,7 @@ test('partial arbitrary variants', () => {
37
38
38
39
test ( 'partial arbitrary variants with at-rules' , ( ) => {
39
40
let config = {
41
+ experimental : { matchVariant : true } ,
40
42
content : [
41
43
{
42
44
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', () => {
75
77
76
78
test ( 'partial arbitrary variants with at-rules and placeholder' , ( ) => {
77
79
let config = {
80
+ experimental : { matchVariant : true } ,
78
81
content : [
79
82
{
80
83
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', () => {
113
116
114
117
test ( 'partial arbitrary variants with default values' , ( ) => {
115
118
let config = {
119
+ experimental : { matchVariant : true } ,
116
120
content : [
117
121
{
118
122
raw : html `<div class= "tooltip-bottom:mt-2 tooltip-top:mb-2" > </ div> ` ,
@@ -155,6 +159,7 @@ test('partial arbitrary variants with default values', () => {
155
159
156
160
test ( 'matched variant values maintain the sort order they are registered in' , ( ) => {
157
161
let config = {
162
+ experimental : { matchVariant : true } ,
158
163
content : [
159
164
{
160
165
raw : html `<div
@@ -209,6 +214,7 @@ test('matched variant values maintain the sort order they are registered in', ()
209
214
210
215
test ( 'matchVariant can return an array of format strings from the function' , ( ) => {
211
216
let config = {
217
+ experimental : { matchVariant : true } ,
212
218
content : [
213
219
{
214
220
raw : html `<div class= "test-[a,b,c]:underline" > </ div> ` ,
0 commit comments