Skip to content

Commit 698a9b5

Browse files
fix(test): add p-limit and yocto-queue to Jest transformIgnorePatterns
p-limit v7 and its dependency yocto-queue are ESM-only packages that need to be transformed by SWC for Jest to parse them correctly.
1 parent ae8ca7b commit 698a9b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const config: Config = {
5353
],
5454
modulePathIgnorePatterns: ['<rootDir>/.worktrees/'],
5555
transformIgnorePatterns: [
56-
'node_modules/.pnpm/(?!(@octokit|universal-user-agent|before-after-hook|bottleneck))',
56+
'node_modules/.pnpm/(?!(@octokit|universal-user-agent|before-after-hook|bottleneck|p-limit|yocto-queue))',
5757
],
5858

5959
// Parallel execution configuration

0 commit comments

Comments
 (0)