This commit is contained in:
Zhibin Liu 2018-10-24 22:30:37 +08:00
parent 48656d22b9
commit 6844c7526f
5 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,3 @@
it("should not throw when no dependency reference", function() {
return expect(() => import("side-effect-free")).not.toThrow();
});

View File

@ -0,0 +1 @@
export * from "./module.wat";

View File

@ -0,0 +1,5 @@
(module
(func (export "a") (result i32)
(i32.const 1)
)
)

View File

@ -0,0 +1,3 @@
{
"sideEffects": false
}

View File

@ -0,0 +1,5 @@
var supportsWebAssembly = require("../../../helpers/supportsWebAssembly");
module.exports = function(config) {
return supportsWebAssembly();
};