Skip to content

Commit eb91331

Browse files
committed
Fix e2e test build constraints to exclude WASM builds
Add !wasm constraint to e2e tests to prevent build errors when compiling tests on host platform. Tests must run on host while the main package compiles for WASM.
1 parent 1e221b5 commit eb91331

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/calculator/calculator_e2e_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// +build e2e
1+
//go:build e2e && !wasm
2+
// +build e2e,!wasm
23

34
package main
45

0 commit comments

Comments
 (0)