mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-22 01:01:34 +00:00
Adding in wrapper file to fix circular dependency with Webpack 5 (#2110)
* Adding in wrapper file to fix circular dependency with Webpack 5 * Running rustfmt * Fixing unit tests
This commit is contained in:
@ -112,7 +112,7 @@ fn runtest(test: &Path) -> Result<()> {
|
||||
let wat = sanitize_wasm(&wasm)?;
|
||||
assert_same(&wat, &test.with_extension("wat"))?;
|
||||
} else {
|
||||
let js = fs::read_to_string(td.path().join("reference_test.js"))?;
|
||||
let js = fs::read_to_string(td.path().join("reference_test_bg.js"))?;
|
||||
assert_same(&js, &test.with_extension("js"))?;
|
||||
let wat = sanitize_wasm(&td.path().join("reference_test_bg.wasm"))?;
|
||||
assert_same(&wat, &test.with_extension("wat"))?;
|
||||
|
Reference in New Issue
Block a user