Skip to content

Commit

Permalink
fix: Disable threads for project-sidebar-internal
Browse files Browse the repository at this point in the history
Part of request #27556: Migrate Vite-based packages to Vitest

project-sidebar-internal's JS unit tests get stuck from time to time.
It's been reproduced locally but it does not trigger always. An issue
comment [0] on vitest's github advises to disable threads to mitigate
the issue. We are going to try that.

[0]:
vitest-dev/vitest#2008 (comment)

Change-Id: I4ae7344745b4f4d8ac30b5a21113e461690d0d5e
  • Loading branch information
Hyzual committed Oct 3, 2022
1 parent 20d0e99 commit e7b2b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/frontend/project-sidebar-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"typecheck": "vue-tsc --noEmit",
"build": "vite build",
"dev": "vite",
"test": "vitest"
"test": "vitest --no-threads"
}
}

0 comments on commit e7b2b04

Please sign in to comment.