Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add helper script to run unit tests against local httpd
Rūdolfs Ošiņš committed 28 days ago
commit a184186944c95936e3c28ca91acae9b3452f3a42
parent 114b25322e6e690001ec3a3a25eb7cb6a2ff6d4f
1 file changed +1 -0
modified 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",