From a184186944c95936e3c28ca91acae9b3452f3a42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Fri, 17 Apr 2026 08:49:08 +0200 Subject: [PATCH] Add helper script to run unit tests against local httpd As opposed to running it against a pre-compiled binary with a pinned version. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index b4efef4e4..4df74a130 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "test:e2e": "NODE_CONFIG_ENV='test' TZ='UTC' playwright test", "test:e2e:local": "scripts/compile-local-httpd && USE_LOCAL_HTTPD=true NODE_CONFIG_ENV='test' TZ='UTC' playwright test", "test:http-client:unit": "NODE_CONFIG_ENV='test' TZ='UTC' vitest run --config http-client/vite.config.ts --reporter verbose", + "test:http-client:unit:local": "scripts/compile-local-httpd && USE_LOCAL_HTTPD=true NODE_CONFIG_ENV='test' TZ='UTC' vitest run --config http-client/vite.config.ts --reporter verbose", "test:radicle-httpd": "cd radicle-httpd && cargo test --all-features", "deploy": "rimraf build && npm clean-install && npm run build && scripts/inject-plausible && npx wrangler deploy", "deploy:open-graph": "cd workers/open-graph && npx wrangler deploy",