tailwindcss/integrations/postcss
Philipp Spiess d3846a4570
Update test to retry assertion on empty file and don't include forward-slash in the assertion (#17821)
To fix the CI issues we have, it turns out there are two issues:

1. The file-read was not retried, making it possible for all platforms
(but mostly Windows because it's the slowest) to sometimes not have the
file created yet before making the assertion.
2. A forward-slash in the assertion message path would always be a
backslash when run on Windows, thus the Windows test would never pass.

## Test plan

 - [ci-all] and have the test pass two times.
2025-04-29 18:16:58 +02:00
..
config.test.ts Improve integration tests (stability + performance) (#15125) 2024-12-12 13:48:56 +01:00
core-as-postcss-plugin.test.ts Improve integration tests (stability + performance) (#15125) 2024-12-12 13:48:56 +01:00
index.test.ts Update test to retry assertion on empty file and don't include forward-slash in the assertion (#17821) 2025-04-29 18:16:58 +02:00
multi-root.test.ts Make @reference emit variable fallbacks instead of CSS variable declarations (#16774) 2025-02-25 11:36:43 +01:00
next.test.ts Fix slow incremental builds (especially on Windows) (#17511) 2025-04-03 17:13:15 +02:00
plugins.test.ts Make @reference emit variable fallbacks instead of CSS variable declarations (#16774) 2025-02-25 11:36:43 +01:00
source.test.ts Use @layer properties for @property polyfills (#17506) 2025-04-02 18:16:28 +02:00
url-rewriting.test.ts Enable URL rewriting for PostCSS (#16965) 2025-03-07 12:18:10 +01:00