From 91d4bc692f1bb03d25a0087a09a63dad296a895a Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Mon, 18 Sep 2023 15:14:56 +0100 Subject: [PATCH] fix: Undici change broke tests Signed-off-by: Gordon Smith --- tests/test-util/src/types.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-util/src/types.spec.ts b/tests/test-util/src/types.spec.ts index 305ae4c57d..f4648d1260 100644 --- a/tests/test-util/src/types.spec.ts +++ b/tests/test-util/src/types.spec.ts @@ -3,7 +3,7 @@ import { bundle } from "./dts-bundle"; import { existsSync, readFile, readFileSync } from "fs"; import * as glob from "glob"; -const NODEJS_DEPENDENCY_EXCEPTIONS = ["node-fetch", "abort-controller", "safe-buffer", "@xmldom/xmldom", "tmp", "yargs"]; +const NODEJS_DEPENDENCY_EXCEPTIONS = ["node-fetch", "undici", "abort-controller", "safe-buffer", "@xmldom/xmldom", "tmp", "yargs"]; const EXTERNAL_EXCEPTIONS = ["preact/hooks"]; function calcExternals(main: string = "types/index.d.ts", out: string = "dist/index.d.ts") {