From dc54b5584dd04f1c5f27e81610e2957b7ba943e3 Mon Sep 17 00:00:00 2001 From: Colum Ferry Date: Fri, 3 May 2024 13:03:04 +0100 Subject: [PATCH] fix(remix): pin testing-library/jest-dom to compatible version (#23161) ## Current Behavior @testing-library/jest-dom released a version that is broken currently and it was being found by our version string. ## Expected Behavior Pin the version of the package to the latest working versions ## Related Issue(s) Fixes # --- packages/remix/src/utils/versions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/remix/src/utils/versions.ts b/packages/remix/src/utils/versions.ts index de737edb8ea79..e1d0bec3396ce 100644 --- a/packages/remix/src/utils/versions.ts +++ b/packages/remix/src/utils/versions.ts @@ -12,7 +12,8 @@ export const eslintVersion = '^8.56.0'; export const typescriptVersion = '^5.3.3'; export const tailwindVersion = '^3.3.0'; export const testingLibraryReactVersion = '^14.1.2'; -export const testingLibraryJestDomVersion = '^6.2.0'; +// TODO(colum): Unpin this when @testing-library/jest-dom pushes a fix +export const testingLibraryJestDomVersion = '6.4.2'; export const testingLibraryUserEventsVersion = '^14.5.2'; export function getRemixVersion(tree: Tree): string {