Sign in
fuchsia
/
fuchsia
/
cafe43e483c36c5bfaa6e2decea566ed245832f8
/
.
/
third_party
/
rust_crates
/
vendor
/
wasm-bindgen
/
tests
/
wasm
/
structural.js
blob: 0261c50e145b0bb6d781dfd76b5a7cf680e67a93 [
file
] [
log
] [
blame
]
const
wasm
=
require
(
'wasm-bindgen-test.js'
);
const
assert
=
require
(
'assert'
);
exports
.
js_works
=
()
=>
{
let called
=
false
;
wasm
.
run
({
bar
()
{
called
=
true
;
},
baz
:
1
,
});
assert
.
strictEqual
(
called
,
true
);
};