From 3011f46cd8d256056dec75bc2daaaf9624bd6b3c Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Thu, 13 Oct 2022 14:13:02 -0400 Subject: [PATCH] Enable `generalizedModifiers` flag by default --- src/featureFlags.js | 1 + tests/arbitrary-variants.test.js | 6 ------ tests/match-utilities.test.js | 10 ---------- 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/featureFlags.js b/src/featureFlags.js index 13c424184768..f07229d492e1 100644 --- a/src/featureFlags.js +++ b/src/featureFlags.js @@ -3,6 +3,7 @@ import log from './util/log' let defaults = { optimizeUniversalDefaults: false, + generalizedModifiers: true, } let featureFlags = { diff --git a/tests/arbitrary-variants.test.js b/tests/arbitrary-variants.test.js index 39484315d066..d259971fe57a 100644 --- a/tests/arbitrary-variants.test.js +++ b/tests/arbitrary-variants.test.js @@ -709,9 +709,6 @@ it('should support supports', () => { it('should be possible to use modifiers and arbitrary groups', () => { let config = { - experimental: { - generalizedModifiers: true, - }, content: [ { raw: html` @@ -813,9 +810,6 @@ it('should be possible to use modifiers and arbitrary groups', () => { it('should be possible to use modifiers and arbitrary peers', () => { let config = { - experimental: { - generalizedModifiers: true, - }, content: [ { raw: html` diff --git a/tests/match-utilities.test.js b/tests/match-utilities.test.js index bae11e5a450a..587a46866858 100644 --- a/tests/match-utilities.test.js +++ b/tests/match-utilities.test.js @@ -2,10 +2,6 @@ import { run, html, css } from './util/run' test('match utilities with modifiers', async () => { let config = { - experimental: { - generalizedModifiers: true, - }, - content: [ { raw: html`
`, @@ -66,9 +62,6 @@ test('match utilities with modifiers', async () => { test('match utilities with modifiers in the config', async () => { let config = { - experimental: { - generalizedModifiers: true, - }, content: [ { raw: html`
`, @@ -126,9 +119,6 @@ test('match utilities with modifiers in the config', async () => { test('match utilities can omit utilities by returning null', async () => { let config = { - experimental: { - generalizedModifiers: true, - }, content: [ { raw: html`
`,