Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Add helper script to run unit tests against local httpd
Rūdolfs Ošiņš committed 8 days ago
commit a184186944c95936e3c28ca91acae9b3452f3a42
parent 114b253
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",