Skip to content

Commit 926c783

Browse files
cklinCopilot
andcommitted
Add chokidar and readdirp to Jest transformIgnorePatterns
Chokidar v5.0.0 is ESM-only ("type": "module") and depends on readdirp v5 which is also ESM-only. Add both packages to the transform list so Jest can transpile them during tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e9f6012 commit 926c783

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

extensions/ql-vscode/test/jest-config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const transformScopes = [
1111
];
1212
const transformPackages = [
1313
"before-after-hook",
14+
"chokidar",
1415
"d3",
1516
"data-uri-to-buffer",
1617
"delaunator",
@@ -22,6 +23,7 @@ const transformPackages = [
2223
"nanoid",
2324
"p-queue",
2425
"p-timeout",
26+
"readdirp",
2527
"robust-predicates",
2628
"universal-user-agent",
2729
"until-async",

0 commit comments

Comments
 (0)