Demo Repo: https://github.com/guybedford/wasm-intro
Whoa it's Guy Bedford!
Everything works fine when test.wasm is served, but when locally referenced, the test file is not able to be acquired.
Are you running a local server to serve the files? This is necessary for the loading to work.