Skip to content

Commit c6a602a

Browse files
committed
Make Windows tests more stable
Windows just takes way too long sometimes
1 parent a8418d3 commit c6a602a

File tree

1 file changed

+13
-0
lines changed
  • packages/tailwindcss-language-server/tests/env

1 file changed

+13
-0
lines changed

packages/tailwindcss-language-server/tests/env/v4.test.js

+13
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,12 @@ defineTest({
605605
})
606606

607607
defineTest({
608+
// This test sometimes takes a really long time on Windows because… Windows.
609+
options: {
610+
retry: 3,
611+
timeout: 30_000,
612+
},
613+
608614
name: 'Plugins with a `#` in the name are loadable',
609615
fs: {
610616
'app.css': css`
@@ -650,6 +656,12 @@ defineTest({
650656
})
651657

652658
defineTest({
659+
// This test sometimes takes a really long time on Windows because… Windows.
660+
options: {
661+
retry: 3,
662+
timeout: 30_000,
663+
},
664+
653665
name: 'v3: Presets with a `#` in the name are loadable',
654666
fs: {
655667
'package.json': json`
@@ -709,6 +721,7 @@ defineTest({
709721
defineTest({
710722
// This test sometimes takes a really long time on Windows because… Windows.
711723
options: {
724+
retry: 3,
712725
timeout: 30_000,
713726
},
714727

0 commit comments

Comments
 (0)