Skip to main content

MISMATCH_DIR_ENV

Constant MISMATCH_DIR_ENV 

Source
const MISMATCH_DIR_ENV: &str = "UNLIT3D_SNAPSHOT_MISMATCH_DIR";
Expand description

The environment variable that collects mismatched snapshot frames.

Defined by unlit_wgpu_test_util for the host pass, and read by the Node runner for the browser one — which is the process that can write, since the page has no filesystem. Repeated here as a literal because this is a separate crate that does not depend on the harness.