341 lines
10 KiB
JavaScript
341 lines
10 KiB
JavaScript
|
// flow-typed signature: be25eb3acc001250afea0eb7dacd26f6
|
||
|
// flow-typed version: <<STUB>>/sinon_v^9.2.4/flow_v0.130.0
|
||
|
|
||
|
/**
|
||
|
* This is an autogenerated libdef stub for:
|
||
|
*
|
||
|
* 'sinon'
|
||
|
*
|
||
|
* Fill this stub out by replacing all the `any` types.
|
||
|
*
|
||
|
* Once filled out, we encourage you to share your work with the
|
||
|
* community by sending a pull request to:
|
||
|
* https://github.com/flowtype/flow-typed
|
||
|
*/
|
||
|
|
||
|
declare module 'sinon' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* We include stubs for each file inside this npm package in case you need to
|
||
|
* require those files directly. Feel free to delete any files that aren't
|
||
|
* needed.
|
||
|
*/
|
||
|
declare module 'sinon/lib/sinon-esm' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/assert' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/behavior' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/blob' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/collect-own-methods' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/color' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/create-sandbox' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/default-behaviors' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/fake' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/mock-expectation' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/mock' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/proxy-call-util' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/proxy-call' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/proxy-invoke' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/proxy' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/restore-object' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/sandbox' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/spy-formatters' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/spy' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/stub' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/throw-on-falsy-object' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/default-config' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/export-async-behaviors' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/extend' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/format' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/function-to-string' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/get-config' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/get-next-tick' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/get-property-descriptor' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/is-es-module' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/is-non-existent-property' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/is-property-configurable' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/is-restorable' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/next-tick' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/restore' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/times-in-words' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/use-promise-library' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/walk-object' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/walk' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/core/wrap-method' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/lib/sinon/util/fake-timers' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/pkg/sinon-esm' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/pkg/sinon-no-sourcemaps' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
declare module 'sinon/pkg/sinon' {
|
||
|
declare module.exports: any;
|
||
|
}
|
||
|
|
||
|
// Filename aliases
|
||
|
declare module 'sinon/lib/sinon-esm.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon-esm'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/assert.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/assert'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/behavior.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/behavior'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/blob.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/blob'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/collect-own-methods.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/collect-own-methods'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/color.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/color'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/create-sandbox.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/create-sandbox'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/default-behaviors.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/default-behaviors'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/fake.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/fake'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/mock-expectation.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/mock-expectation'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/mock.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/mock'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/proxy-call-util.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/proxy-call-util'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/proxy-call.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/proxy-call'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/proxy-invoke.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/proxy-invoke'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/proxy.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/proxy'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/restore-object.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/restore-object'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/sandbox.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/sandbox'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/spy-formatters.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/spy-formatters'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/spy.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/spy'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/stub.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/stub'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/throw-on-falsy-object.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/throw-on-falsy-object'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/default-config.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/default-config'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/export-async-behaviors.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/export-async-behaviors'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/extend.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/extend'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/format.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/format'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/function-to-string.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/function-to-string'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/get-config.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/get-config'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/get-next-tick.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/get-next-tick'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/get-property-descriptor.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/get-property-descriptor'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/is-es-module.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/is-es-module'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/is-non-existent-property.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/is-non-existent-property'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/is-property-configurable.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/is-property-configurable'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/is-restorable.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/is-restorable'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/next-tick.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/next-tick'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/restore.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/restore'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/times-in-words.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/times-in-words'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/use-promise-library.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/use-promise-library'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/walk-object.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/walk-object'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/walk.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/walk'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/core/wrap-method.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/core/wrap-method'>;
|
||
|
}
|
||
|
declare module 'sinon/lib/sinon/util/fake-timers.js' {
|
||
|
declare module.exports: $Exports<'sinon/lib/sinon/util/fake-timers'>;
|
||
|
}
|
||
|
declare module 'sinon/pkg/sinon-esm.js' {
|
||
|
declare module.exports: $Exports<'sinon/pkg/sinon-esm'>;
|
||
|
}
|
||
|
declare module 'sinon/pkg/sinon-no-sourcemaps.js' {
|
||
|
declare module.exports: $Exports<'sinon/pkg/sinon-no-sourcemaps'>;
|
||
|
}
|
||
|
declare module 'sinon/pkg/sinon.js' {
|
||
|
declare module.exports: $Exports<'sinon/pkg/sinon'>;
|
||
|
}
|