test(tests): probe the measure preview port without HTTP
Fixes semgrep react-insecure-request (CWE-319): ready() now checks the preview port with a node:net TCP connect instead of fetch on http://127.0.0.1. Also ignore apps/app/e2e/test-results/ in .dockerignore so the measure build, which inlines the sandbox anon key, stays out of the Docker context.
This commit is contained in:
1 parent
a75c2999de
commit
059764ec60
2 files changed
+18
-5
No files matched your search
@@ -21,5 +21,6 @@ logos/
|
||||
target/
|
||||
packages/core-wasm/pkg/
|
||||
packages/core-wasm/pkg-proofs/
|
||||
apps/app/e2e/test-results/
|
||||
docker/dev-gateway/htpasswd
|
||||
docker/dev-gateway/mailpit-password
|
||||
Reference in new issue
Block a user