diff --git a/CHANGELOG.md b/CHANGELOG.md index 43151a60b70d..5e2b22fdb776 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,7 @@ - `[jest-leak-detector]` Make leak-detector more aggressive when running GC ([#14526](https://github.com/jestjs/jest/pull/14526)) - `[jest-runtime]` Properly handle re-exported native modules in ESM via CJS ([#14589](https://github.com/jestjs/jest/pull/14589)) - `[jest-util]` Make sure `isInteractive` works in a browser ([#14552](https://github.com/jestjs/jest/pull/14552)) +- `[jest-util]` Add missing dependency on `jest-regex-util` ([#15030](https://github.com/jestjs/jest/pull/15030)) - `[pretty-format]` [**BREAKING**] Print `ArrayBuffer` and `DataView` correctly ([#14290](https://github.com/jestjs/jest/pull/14290)) - `[jest-cli]` When specifying paths on the command line, only match against the relative paths of the test files ([#12519](https://github.com/jestjs/jest/pull/12519)) - [**BREAKING**] Changes `testPathPattern` configuration option to `testPathPatterns`, which now takes a list of patterns instead of the regex. diff --git a/packages/jest-util/package.json b/packages/jest-util/package.json index 0c76c8a5d64d..101ab2f07702 100644 --- a/packages/jest-util/package.json +++ b/packages/jest-util/package.json @@ -24,6 +24,7 @@ "chalk": "^4.0.0", "ci-info": "^4.0.0", "graceful-fs": "^4.2.9", + "jest-regex-util": "workspace:*", "picomatch": "^4.0.0" }, "devDependencies": { diff --git a/packages/jest-util/tsconfig.json b/packages/jest-util/tsconfig.json index b69d4caaeea9..1ed0dbe62371 100644 --- a/packages/jest-util/tsconfig.json +++ b/packages/jest-util/tsconfig.json @@ -6,5 +6,5 @@ }, "include": ["./src/**/*"], "exclude": ["./**/__tests__/**/*"], - "references": [{"path": "../jest-types"}] + "references": [{"path": "../jest-regex-util"}, {"path": "../jest-types"}] } diff --git a/yarn.lock b/yarn.lock index be41f4876bd4..f8701ebfd0ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13302,6 +13302,7 @@ __metadata: chalk: ^4.0.0 ci-info: ^4.0.0 graceful-fs: ^4.2.9 + jest-regex-util: "workspace:*" picomatch: ^4.0.0 languageName: unknown linkType: soft