Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTestChrome ¶
RunTestChrome compiles all tests in the current working directory for WASM+JS, and runs them in a headless Chrome browser using Docker. It will stream test results back to t.
Optionally, the default HTTP handler can be set to serve additional content to the the script.
The caller should specify the "!js" build tag, while all JS tests in the package should include "js" build tag.
func RunTestNodeJS ¶
RunTestNodeJS compiles all tests in the current working directory for WASM+JS, and runs them either in Docker or locally with NodeJS. It will stream test results back to t.
The caller should specify the "!js" build tag, while all JS tests in the package should include "js" build tag.
Types ¶
This section is empty.