mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Add nock's disableNetConnect/enableNetConnect functions
This commit is contained in:
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