diff --git a/tests/arbitrary-properties.test.js b/tests/arbitrary-properties.test.js index 094c43fd5d56..e3a4f02a5bce 100644 --- a/tests/arbitrary-properties.test.js +++ b/tests/arbitrary-properties.test.js @@ -352,13 +352,27 @@ it('should not generate invalid CSS', () => { let config = { content: [ { - raw: html`
`, + raw: html` +
+
+
+
+
+ `, + + // NOTE: In this case `stillworks:/example` being generated is not ideal + // but it at least doesn't produce invalid CSS when run through prettier + // So we can let it through since it is technically valid }, ], corePlugins: { preflight: false }, } return run('@tailwind utilities', config).then((result) => { - return expect(result.css).toMatchFormattedCss(css``) + return expect(result.css).toMatchFormattedCss(css` + .\[stillworks\:\/example\] { + stillworks: /example; + } + `) }) })