Skip to content

Commit 2b8c39b

Browse files
committed
fix: disable streaming output in wasm-bindgen-test-runner for E2E tests
wasm-bindgen 0.2.115+ introduced incremental DOM scraping that assumes #output content is append-only. The SSR E2E tests replace #output via set_inner_html, breaking the offset tracker and causing the runner to miss test results. WASM_BINDGEN_TEST_NO_STREAM falls back to reading full text each poll.
1 parent e30fb70 commit 2b8c39b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/ssr-e2e/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ async fn main() -> ExitCode {
145145
let test_result = Command::new("cargo")
146146
.args(&cargo_args)
147147
.env("WASM_BINDGEN_TEST_NO_ORIGIN_ISOLATION", "1")
148+
.env("WASM_BINDGEN_TEST_NO_STREAM", "1")
148149
.status()
149150
.await;
150151

0 commit comments

Comments
 (0)