Skip to content

Commit

Permalink
fix: Undici change broke tests
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon Smith <[email protected]>
  • Loading branch information
GordonSmith committed Sep 18, 2023
1 parent 69e26ec commit 91d4bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-util/src/types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 91d4bc6

Please sign in to comment.