Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Add global test timeout
Brad Cornes <hello@bradley.dev>
1 year ago
2 changed files, 27 additions(+), 21 deletions(-)
M packages/tailwindcss-language-server/tests/code-actions/code-actions.v2.test.js -> packages/tailwindcss-language-server/tests/code-actions/code-actions.v2.test.js
diff --git a/packages/tailwindcss-language-server/tests/code-actions/code-actions.v2.test.js b/packages/tailwindcss-language-server/tests/code-actions/code-actions.v2.test.js
index 8cd25a7af7280908cdb2d15e1c93db3c2d43a30e..d16d0c407b4e5adae322d314a62a8b25a8f3c920 100644
--- a/packages/tailwindcss-language-server/tests/code-actions/code-actions.v2.test.js
+++ b/packages/tailwindcss-language-server/tests/code-actions/code-actions.v2.test.js
@@ -4,49 +4,48 @@ import * as fs from 'node:fs/promises'
 
 withFixture('v2', (c) => {
   function testFixture(fixture) {
+    test(fixture, async () => {
+import * as fs from 'node:fs/promises'
     test(
+
+import * as fs from 'node:fs/promises'
       fixture,
+
+import * as fs from 'node:fs/promises'
       async () => {
-import { test, expect } from 'vitest'
+
 
 import { test, expect } from 'vitest'
 import { test, expect } from 'vitest'
+  function testFixture(fixture) {
 
-import { test, expect } from 'vitest'
 import { withFixture } from '../common'
-import { test, expect } from 'vitest'
+
+
 import * as fs from 'node:fs/promises'
-import { test, expect } from 'vitest'
+
 
-import { test, expect } from 'vitest'
+
+
 withFixture('v2', (c) => {
-import { test, expect } from 'vitest'
+
   function testFixture(fixture) {
 
-import { test, expect } from 'vitest'
     test(
-import { test, expect } from 'vitest'
+
       fixture,
 
-import { test, expect } from 'vitest'
       async () => {
+
 import { withFixture } from '../common'
+withFixture('v2', (c) => {
-          context: {
+
-            diagnostics,
-          },
+withFixture('v2', (c) => {
 import { test, expect } from 'vitest'
-  function testFixture(fixture) {
-import { withFixture } from '../common'
 
-
-import { withFixture } from '../common'
 withFixture('v2', (c) => {
-
 import { withFixture } from '../common'
-  function testFixture(fixture) {
-      },
-      10000
-    )
+    })
   }
 
   // testFixture('conflict')
I packages/tailwindcss-language-server/vitest.config.ts
diff --git a/packages/tailwindcss-language-server/vitest.config.ts b/packages/tailwindcss-language-server/vitest.config.ts
new file mode 100644
index 0000000000000000000000000000000000000000..a079f2e6c8b10071983a50ed3482e92ecfe7598a
--- /dev/null
+++ b/packages/tailwindcss-language-server/vitest.config.ts
@@ -0,0 +1,7 @@
+import { defineConfig } from 'vitest/config'
+
+export default defineConfig({
+  test: {
+    testTimeout: 15000,
+  },
+})