This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Cannot run the test in game-of-life tutorial with --chrome --headless
#3701
Labels
You can continue the conversation there. Go to discussion →
--chrome --headless
#3701
Describe the Bug
I've just started studying wasm recently.
While doing the game-of-life tutorial, I couldn't run the test in it.
It might be related with #2261, but even a test with chrome doesn't run successfully.
Steps to Reproduce
git clone https://github.com/rustwasm/wasm_game_of_life.git
cd wasm_game_of_life
wasm-pack test --chrome --headless
Expected Behavior
The test runs successfully.
Actual Behavior
Additional Context
I'm using WSL2 Ubuntu.
When I run
wasm-pack test --chrome
and open localhost:8000 with the Google Chrome, the page says:The text was updated successfully, but these errors were encountered: