const assert = require('assert');
const sinon = require('sinon');

global.assert = assert;
global.stub = sinon.stub;
global.spy = sinon.spy;
global.createStubInstance = sinon.createStubInstance;

const assert = require('assert');
const sinon = require('sinon');

global.assert = assert;
global.stub = sinon.stub;
global.spy = sinon.spy;
global.useFakeTimers = sinon.useFakeTimers;
global.createStubInstance = sinon.createStubInstance;

Add missed sinon fakeTimer global to mocha