tailwindcss/tests/jit
Robin Malfait bfc9fa79d4
Improve tests (#5108)
* change specific selector to universal selector

This is the commit that we could "undo" in the future if we need it
again.

* simplify `relative-purge-paths` test

This test doesn't require the "reset" selector (whether it is super specific or universal)

Simplified it so that it tests the relative purge config and nothing else.

* added css tagged template literal helpers

This allows prettier to format the string as CSS. This improves formatting and will improve future diffs.

* drop tailwind headers in the sanity tests

Every time we bump the Tailwind version, the sanity tests fail, because
the current version is encoded in the fixture files.

This will ensure that all of the contents is still checked and the
header is skipped. The header will be tested against a regex to ensure
that it is still there.

This should be a small but nice QoL improvement, so that we don't have
to think about updating those tests whenever we fix bugs or land new
features.
2021-07-29 07:31:06 -04:00
..
apply.test.css Remove need for filter and backdrop-filter toggles (#4611) 2021-06-10 11:36:15 -04:00
apply.test.html Support applying important utilities in JIT (#4260) 2021-05-06 13:52:26 -04:00
apply.test.js Remove need for filter and backdrop-filter toggles (#4611) 2021-06-10 11:36:15 -04:00
arbitrary-values.test.css Support arbitrary values for object-position 2021-06-14 16:03:14 -04:00
arbitrary-values.test.html Support arbitrary values for object-position 2021-06-14 16:03:14 -04:00
arbitrary-values.test.js Remove need for filter and backdrop-filter toggles (#4611) 2021-06-10 11:36:15 -04:00
basic-usage.test.css Improve tests (#5108) 2021-07-29 07:31:06 -04:00
basic-usage.test.html JIT: Optimize universal selector usage by inlining only the relevant selectors (#4850) 2021-07-01 06:33:37 -04:00
basic-usage.test.js Improve tests (#5108) 2021-07-29 07:31:06 -04:00
collapse-adjacent-rules.test.css JIT: Optimize universal selector usage by inlining only the relevant selectors (#4850) 2021-07-01 06:33:37 -04:00
collapse-adjacent-rules.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
collapse-adjacent-rules.test.js Compare adjacent rules ignoring whitespace 2021-05-30 14:55:30 -04:00
color-opacity-modifiers.test.js Support opacity modifiers for colors in JIT (#4348) 2021-05-14 13:07:56 -04:00
context-reuse.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
context-reuse.test.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
context-reuse.worker.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
custom-extractors.test.css Remove need for filter and backdrop-filter toggles (#4611) 2021-06-10 11:36:15 -04:00
custom-extractors.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
custom-extractors.test.js Remove need for filter and backdrop-filter toggles (#4611) 2021-06-10 11:36:15 -04:00
custom-separator.test.css Generate group parent classes correctly with custom separator (#4508) 2021-05-30 15:02:55 -04:00
custom-separator.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
custom-separator.test.js Error when dash is used as custom separator (#4704) 2021-06-18 16:01:38 -04:00
custom-transformers.test.js Remove need for transform toggle (#4604) 2021-06-10 09:15:41 -04:00
extractor-edge-cases.test.js Improve extractor for arbitrary values with quotes (#4817) 2021-06-26 10:20:49 -04:00
import-syntax.test.css JIT: Optimize universal selector usage by inlining only the relevant selectors (#4850) 2021-07-01 06:33:37 -04:00
import-syntax.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
import-syntax.test.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
important-boolean.test.css JIT: Optimize universal selector usage by inlining only the relevant selectors (#4850) 2021-07-01 06:33:37 -04:00
important-boolean.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
important-boolean.test.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
important-modifier-prefix.test.css JIT: Optimize universal selector usage by inlining only the relevant selectors (#4850) 2021-07-01 06:33:37 -04:00
important-modifier-prefix.test.html Ignore "!*" in templates (#4816) 2021-06-26 10:20:36 -04:00
important-modifier-prefix.test.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
important-modifier.test.css JIT: Optimize universal selector usage by inlining only the relevant selectors (#4850) 2021-07-01 06:33:37 -04:00
important-modifier.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
important-modifier.test.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
important-selector.test.css JIT: Optimize universal selector usage by inlining only the relevant selectors (#4850) 2021-07-01 06:33:37 -04:00
important-selector.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
important-selector.test.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
kitchen-sink.test.css Improve tests (#5108) 2021-07-29 07:31:06 -04:00
kitchen-sink.test.html JIT: Add per-side border colors (#4404) 2021-05-20 13:35:39 -04:00
kitchen-sink.test.js Improve tests (#5108) 2021-07-29 07:31:06 -04:00
layer-without-tailwind.test.css Error when @layer used without matching @tailwind directive (#4335) 2021-05-12 16:58:03 -04:00
layer-without-tailwind.test.html Error when @layer used without matching @tailwind directive (#4335) 2021-05-12 16:58:03 -04:00
layer-without-tailwind.test.js Error when @layer used without matching @tailwind directive (#4335) 2021-05-12 16:58:03 -04:00
modify-selectors.test.css [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
modify-selectors.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
modify-selectors.test.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
mutable.test.css [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
mutable.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
mutable.test.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
opacity.test.css Remove need for transform toggle (#4604) 2021-06-10 09:15:41 -04:00
opacity.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
opacity.test.js Remove need for transform toggle (#4604) 2021-06-10 09:15:41 -04:00
parallel-variants.test.js JIT: Add exhaustive pseudo-class and pseudo-element variant support (#4482) 2021-05-27 17:09:29 +02:00
prefix.fn.test.css [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
prefix.fn.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
prefix.fn.test.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
prefix.test.css JIT: Optimize universal selector usage by inlining only the relevant selectors (#4850) 2021-07-01 06:33:37 -04:00
prefix.test.html Improve matchUtilities API and make it work with the AOT engine (#4232) 2021-05-05 15:23:32 +02:00
prefix.test.js Error when @layer used without matching @tailwind directive (#4335) 2021-05-12 16:58:03 -04:00
raw-content.test.css Fix stacking context issue (#4700) 2021-06-18 16:31:14 +02:00
raw-content.test.html [JIT] Add support for "raw" purge content (#4272) 2021-05-07 08:58:58 -04:00
raw-content.test.js Remove need for filter and backdrop-filter toggles (#4611) 2021-06-10 11:36:15 -04:00
relative-purge-paths.test.html Improve tests (#5108) 2021-07-29 07:31:06 -04:00
relative-purge-paths.test.js Improve tests (#5108) 2021-07-29 07:31:06 -04:00
resolve-defaults-at-rules.test.js Improve tests (#5108) 2021-07-29 07:31:06 -04:00
responsive-and-variants-atrules.test.css Remove need for filter and backdrop-filter toggles (#4611) 2021-06-10 11:36:15 -04:00
responsive-and-variants-atrules.test.html [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
responsive-and-variants-atrules.test.js Remove need for filter and backdrop-filter toggles (#4611) 2021-06-10 11:36:15 -04:00
svelte-syntax.test.css Remove need for filter and backdrop-filter toggles (#4611) 2021-06-10 11:36:15 -04:00
svelte-syntax.test.js Remove need for filter and backdrop-filter toggles (#4611) 2021-06-10 11:36:15 -04:00
svelte-syntax.test.svelte [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
tailwind-screens.test.js JIT: Replace @tailwind screens with @tailwind variants (#4356) 2021-05-14 13:58:52 -04:00
variants.test.css Improve tests (#5108) 2021-07-29 07:31:06 -04:00
variants.test.html Add peer variant (#4556) 2021-06-04 10:32:49 -04:00
variants.test.js Improve tests (#5108) 2021-07-29 07:31:06 -04:00