You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
282 B
JavaScript

6 years ago
'use strict';
// Global objects / functions to be bound before requiring test file, so tests do not interfere.
var x = module.exports;
x.now = Date.now;
x.setTimeout = setTimeout;
x.clearTimeout = clearTimeout;
x.setImmediate = require('set-immediate-shim');
x.options = {};