chore(chore): wasm-build refuses any *_for_test export in the shipped module

This commit is contained in:
bchanot committed 2026-10-18 16:18:26 +02:00
1 parent 2661a68b16
commit 1695fbb408
1 file changed
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ else
fi
# The shipped module must not carry a proof export.
if grep -Eq 'panic_for_test|recurse_for_test' packages/core-wasm/pkg/faunosteo_wasm.d.ts; then
if grep -Eq '_for_test' packages/core-wasm/pkg/faunosteo_wasm.d.ts; then
echo "packages/core-wasm/pkg exports a proof function: refusing to ship it" >&2
exit 1
fi