DefinitelyTyped/types/sinon-test/sinon-test-tests.ts
2019-07-08 18:04:07 -07:00

15 lines
348 B
TypeScript

import * as sinon from 'sinon';
import * as sinonTest from 'sinon-test';
function testConfigure() {
const test = sinonTest.configureTest(sinon, {
injectIntoThis: true,
injectInto: true,
properties: ["spy", "stub", "mock", "clock", "server", "requests"],
useFakeTimers: true,
useFakeServer: true
});
}
testConfigure();