mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-08 11:39:11 +08:00
Add nock's disableNetConnect/enableNetConnect functions
This commit is contained in:
1 parent
39a4a0f60a
commit
a81083d983
1 file changed
+6
Vendored
+6
@@ -12,6 +12,12 @@ declare module "nock" {
|
||||
|
||||
module nock {
|
||||
export function cleanAll(): void;
|
||||
|
||||
export function disableNetConnect(): void;
|
||||
export function enableNetConnect(): void;
|
||||
export function enableNetConnect(regex: RegExp): void;
|
||||
export function enableNetConnect(domain: string): void;
|
||||
|
||||
export var recorder: Recorder;
|
||||
|
||||
export interface Scope {
|
||||
|
||||
Reference in new issue
Block a user