add setInterval and setTimeout noop to browserify test pending a new core-js patch release

This commit is contained in:
Sebastian McKenzie 2015-04-03 04:53:13 +11:00
parent b12a97ddd6
commit ebc42f5ce0

View File

@ -12,7 +12,10 @@ suite("browserify", function() {
assert.ok(bundle.length, "bundle output code");
// 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();
})
})