From 2147d6dae474ed313076500f433c34135bcb9674 Mon Sep 17 00:00:00 2001 From: Amandus Butzer Date: Tue, 9 Jul 2024 13:05:53 +0200 Subject: [PATCH] ci: test --host run --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 00f2e93..332b9d9 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "release": "standard-version", "pretest:ci": "rimraf .nyc_output coverage", "test": "cypress open", - "test:ci": "CYPRESS_COVERAGE=true start-server-and-test dev http://localhost:5173/ 'cypress run -q && cypress run --component -q'", + "test:ci": "CYPRESS_COVERAGE=true start-server-and-test 'npx vite --host' http://localhost:5173/ 'cypress run -q && cypress run --component -q'", "test:e2e": "cypress open --e2e", "test:e2e:ci": "start-server-and-test dev http://localhost:5173/ 'cypress run -q'", "test:unit": "cypress open --component",