mirror of https://github.com/webpack/webpack.git
feat: switch to wast test
This commit is contained in:
parent
0e58d54f5d
commit
8f269150dc
|
|
@ -1,10 +1,5 @@
|
|||
// (module
|
||||
// (import "./env.js" "n" (global i32))
|
||||
// (global (export "value") i32 (get_global 0))
|
||||
// )
|
||||
|
||||
it("should allow global with imported global as initilizer", function() {
|
||||
return import("./module.wasm").then(function({value}) {
|
||||
return import("./module.wat").then(function({value}) {
|
||||
expect(value).toEqual(33);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -0,0 +1,4 @@
|
|||
(module
|
||||
(import "./env.js" "n" (global i32))
|
||||
(global (export "value") i32 (get_global 0))
|
||||
)
|
||||
Loading…
Reference in New Issue