Skip to main content

WASM_TEST_ENV

Constant WASM_TEST_ENV 

Source
pub const WASM_TEST_ENV: &str = "UNLIT3D_WASM_TEST";
Available on non-WebAssembly only.
Expand description

The environment variable that puts a test binary in proxy mode.

Any value selects it. The module the page loads is a compile-time constant of each test binary rather than part of this variable, since one value shared by a whole cargo nextest run could not say which binary is asking.