From 42ab1cf50fff8dfaab2cbc3e83f1b47148acd0ec Mon Sep 17 00:00:00 2001 From: Adam Avramov Date: Thu, 19 Oct 2023 08:24:23 +0300 Subject: [PATCH] fix(types): URL->string|url in testEntrypoint --- ensuite.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ensuite.d.ts b/ensuite.d.ts index c121315..81adcc3 100644 --- a/ensuite.d.ts +++ b/ensuite.d.ts @@ -1,6 +1,6 @@ export function main (root?: string, ...specs: any[]) -export function testEntrypoint (url: URL, tests: Record): typeof tests +export function testEntrypoint (url: string|URL, tests: Record): typeof tests export function pickTest (tests: Record, picked?: string): never