mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #3232 from Nemo157/nock_disable_enable
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