diff --git a/.circleci/config.yml b/.circleci/config.yml index 2e54806b6ffff..a9905a53b7a9f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 aliases: - &docker - - image: cimg/openjdk:17.0.2-node + - image: cimg/openjdk:17.0.0-node - &environment TZ: /usr/share/zoneinfo/America/Los_Angeles diff --git a/packages/use-sync-external-store/src/__tests__/useSyncExternalStoreShared-test.js b/packages/use-sync-external-store/src/__tests__/useSyncExternalStoreShared-test.js index ca5c7c0b5b916..cb3a40aa13ab7 100644 --- a/packages/use-sync-external-store/src/__tests__/useSyncExternalStoreShared-test.js +++ b/packages/use-sync-external-store/src/__tests__/useSyncExternalStoreShared-test.js @@ -899,7 +899,7 @@ describe('Shared useSyncExternalStore behavior (shim and built-in)', () => { store.set({}); }); expect(container.textContent).toEqual( - "Cannot read properties of undefined (reading 'toUpperCase')", + "Cannot read property 'toUpperCase' of undefined", ); }); @@ -935,7 +935,7 @@ describe('Shared useSyncExternalStore behavior (shim and built-in)', () => { store.set({}); }); expect(container.textContent).toEqual( - "Cannot read properties of undefined (reading 'trim')", + "Cannot read property 'trim' of undefined", ); }); });