tailwindcss/tests/util
Robin Malfait a4f1ff9052
Improve CSS output in tests to better reflect reality (#10454)
* drop empty lines when diffing output

* replace expected css with optimized lightningcss output

Lightning CSS generates a more optimal CSS output.

Right now the tests are setup in a way that both the generated css and
expected css are run through `lightningcss` to make sure that the output
is concistent for the `stable` and `oxide` engines. But this also means
that the expected output _could_ be larger (aka not optimized) and still
matches (after it runs through lightningcss).

By replacing this with the more optimal output we achieve a few things:

1. This better reflects reality since we will be using `lightningcss`.
2. This gets rid of unnecessary css.
3. Removed code!
2023-01-31 15:37:49 +01:00
..
crosscheck.test.js Run test suite against both engines (#10373) 2023-01-20 18:45:04 +01:00
defaults.js Improve CSS output in tests to better reflect reality (#10454) 2023-01-31 15:37:49 +01:00
run.js Handle group/peer variants with quoted strings (#10400) 2023-01-23 13:37:41 -05:00
source-maps.js Use Lightning CSS in the PostCSS Plugin (#10399) 2023-01-23 20:44:31 +01:00
strings.js Change how we handle defaults (optimized or not) (#6926) 2022-01-07 11:39:45 -05:00