From 3d6734340d8b49feaeab6d252525865886d75943 Mon Sep 17 00:00:00 2001 From: Jack Anderson Date: Mon, 4 Jan 2021 14:59:36 -0800 Subject: [PATCH] fix: adds http-get + https-get to protocol type def (#30) --- src/types.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/types.d.ts b/src/types.d.ts index 8a8eb94..bff2f09 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -63,7 +63,7 @@ export interface JestProcessManagerOptions { * } * ``` */ - protocol?: 'https' | 'http' | 'tcp' | 'socket'; + protocol?: 'https' | 'https-get' | 'http' | 'http-get' | 'tcp' | 'socket'; /** * Port to wait for activity on before considering the server running. If not provided, the server is assumed to immediately be running. * @default null @@ -136,4 +136,3 @@ export declare function teardown(): Promise; export declare const ERROR_TIMEOUT = "ERROR_TIMEOUT"; export declare const ERROR_PORT_USED = "ERROR_PORT_USED"; export declare const ERROR_NO_COMMAND = "ERROR_NO_COMMAND"; -