We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 948dd5b commit afad4b5Copy full SHA for afad4b5
README.md
@@ -27,7 +27,7 @@ go install github.com/agnivade/wasmbrowsertest@latest
27
```
28
Run tests like so:
29
```sh
30
-GOOS=js GOARCH=wasm go test -exec $(go env GOPATH)/bin/wasmbrowsertest ./...
+GOOS=js GOARCH=wasm go test -exec $(go env GOPATH)/bin/wasmbrowsertest ./pkg/... ./cmd/wasm
31
32
Or, if you don't wanna specify the `-exec`:
33
1. Rename the exacutable so that `go test` finds it automatically:
@@ -36,5 +36,5 @@ mv "$(go env GOPATH)/bin/wasmbrowsertest" "$(go env GOPATH)/bin/go_js_wasm_exec"
36
37
2. And then run tests like you normally would:
38
39
-GOOS=js GOARCH=wasm go test ./...
+GOOS=js GOARCH=wasm go test ./pkg/... ./cmd/wasm
40
0 commit comments