We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3666a98 commit 61429d0Copy full SHA for 61429d0
integrations/postcss/config.test.ts
@@ -226,6 +226,14 @@ test(
226
'color: blue',
227
])
228
229
+ // While working on this test we noticed that it was failing in about 1-2%
230
+ // of the runs. We tracked this down to being a proper reset of ESM imports
231
+ // for the `my-color.js` file but for some reason reading it will result in
232
+ // the previous contents.
233
+ //
234
+ // To work around this, we give postcss some time to stabilize.
235
+ await new Promise((resolve) => setTimeout(resolve, 500))
236
+
237
await fs.write('my-color.mjs', js`export default 'red'`)
238
239
await fs.expectFileToContain('dist/out.css', [
0 commit comments