Skip to content

Commit 8301032

Browse files
committed
Disable some concurrent tests
The tests are now running _too_ fast and are revealing race conditions in the server
1 parent 98b64b7 commit 8301032

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/tailwindcss-language-server/tests/hover/hover.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ withFixture('basic', (c) => {
66
name,
77
{ text, lang, position, exact = false, expected, expectedRange, settings },
88
) {
9-
test.concurrent(name, async ({ expect }) => {
9+
test(name, async ({ expect }) => {
1010
let textDocument = await c.openDocument({ text, lang, settings })
1111
let res = await c.sendRequest('textDocument/hover', {
1212
textDocument,
@@ -180,7 +180,7 @@ withFixture('v4/basic', (c) => {
180180
name,
181181
{ text, exact = false, lang, position, expected, expectedRange, settings },
182182
) {
183-
test.concurrent(name, async ({ expect }) => {
183+
test(name, async ({ expect }) => {
184184
let textDocument = await c.openDocument({ text, lang, settings })
185185
let res = await c.sendRequest('textDocument/hover', {
186186
textDocument,
@@ -314,7 +314,7 @@ withFixture('v4/basic', (c) => {
314314

315315
withFixture('v4/css-loading-js', (c) => {
316316
async function testHover(name, { text, lang, position, expected, expectedRange, settings }) {
317-
test.concurrent(name, async ({ expect }) => {
317+
test(name, async ({ expect }) => {
318318
let textDocument = await c.openDocument({ text, lang, settings })
319319
let res = await c.sendRequest('textDocument/hover', {
320320
textDocument,
@@ -398,7 +398,7 @@ withFixture('v4/css-loading-js', (c) => {
398398

399399
withFixture('v4/path-mappings', (c) => {
400400
async function testHover(name, { text, lang, position, expected, expectedRange, settings }) {
401-
test.concurrent(name, async ({ expect }) => {
401+
test(name, async ({ expect }) => {
402402
let textDocument = await c.openDocument({ text, lang, settings })
403403
let res = await c.sendRequest('textDocument/hover', {
404404
textDocument,

0 commit comments

Comments
 (0)