Skip to content
Merged
Prev Previous commit
Next Next commit
fix test polyfills from failing to resolve
  • Loading branch information
Larry1123 committed Sep 8, 2022
commit c51cc09ed1475d540f193aa107934b7c396f1c8e
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ module.exports = {
`<rootDir>/packages/gatsby/.cache`,
`<rootDir>/packages/plugin-compat`,
],
setupFiles: [require.resolve(`@yarnpkg/cli/sources/polyfills.ts`)],
setupFiles: [require.resolve(`@yarnpkg/cli/polyfills`)],
testTimeout: 50000,
};
1 change: 1 addition & 0 deletions packages/yarnpkg-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"main": "./sources/index.ts",
"exports": {
".": "./sources/index.ts",
"./polyfills": "./sources/polyfills.ts",
"./package.json": "./package.json"
},
"dependencies": {
Expand Down