mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-18 14:52:46 +00:00
15 lines
348 B
TypeScript
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();
|