This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/main by this push:
     new c256985a60 GH-2611: Add --pool=threads to vitest run
c256985a60 is described below

commit c256985a608e92701aebd2eb78240d9da1c7839f
Author: Andy Seaborne <[email protected]>
AuthorDate: Wed Jul 24 10:04:24 2024 +0100

    GH-2611: Add --pool=threads to vitest run
---
 jena-fuseki2/jena-fuseki-ui/package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jena-fuseki2/jena-fuseki-ui/package.json 
b/jena-fuseki2/jena-fuseki-ui/package.json
index f8eca42eb1..d004c9f5ad 100644
--- a/jena-fuseki2/jena-fuseki-ui/package.json
+++ b/jena-fuseki2/jena-fuseki-ui/package.json
@@ -10,7 +10,7 @@
     "dev": "vite",
     "serve": "vite preview",
     "build": "vite build",
-    "test:unit": "vitest run --environment jsdom",
+    "test:unit": "vitest run --pool=threads --environment jsdom",
     "test:e2e": "run-script-os",
     "test:e2e:nix": "cross-env FUSEKI_PORT=\"${FUSEKI_PORT:=3030}\" 
PORT=\"${PORT:=8080}\" concurrently  --names 'SERVER,CLIENT,TESTS' 
--prefix-colors 'yellow,blue,green' --success 'first' --kill-others \"yarn run 
serve:fuseki\" \"yarn wait-on http://localhost:${FUSEKI_PORT}/$/ping && yarn 
run dev\" \"yarn wait-on http-get://localhost:${PORT}/index.html && cypress run 
$@\"",
     "test:e2e:win32" : "SET /a (FUSEKI_PORT=FUSEKI_PORT ^ 3030) & SET /a 
(PORT=PORT ^ 8080) & cross-env concurrently --names 'SERVER,CLIENT,TESTS' 
--prefix-colors 'yellow,blue,green' --success 'first' --kill-others \"yarn run 
serve:fuseki\" \"yarn wait-on http://localhost:${FUSEKI_PORT}/$/ping && yarn 
run dev\" \"yarn wait-on http-get://localhost:${PORT}/index.html && cypress run 
$@\"",

Reply via email to