add setInterval and setTimeout noop to browserify test pending a new core-js patch release
This commit is contained in:
parent
b12a97ddd6
commit
ebc42f5ce0
@ -12,7 +12,10 @@ suite("browserify", function() {
|
|||||||
assert.ok(bundle.length, "bundle output code");
|
assert.ok(bundle.length, "bundle output code");
|
||||||
|
|
||||||
// ensure that the code runs without throwing an exception
|
// ensure that the code runs without throwing an exception
|
||||||
vm.runInNewContext("var global = this;\n" + bundle, {});
|
vm.runInNewContext("var global = this;\n" + bundle, {
|
||||||
|
setInterval: function () {},
|
||||||
|
setTimeout: function () {}
|
||||||
|
});
|
||||||
done();
|
done();
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user