From cd4eb116cf24d5b05107caf67b96c8e0f0cd7dbc Mon Sep 17 00:00:00 2001 From: dan Date: Mon, 7 Feb 2022 03:55:57 +0000 Subject: [PATCH] Revert "update node.js version for CI (#23236)" (#23239) This reverts commit 1d7728bf9daebb7e04f13fc13bb595c12caae46d. --- .circleci/config.yml | 2 +- .../src/__tests__/useSyncExternalStoreShared-test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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", ); }); });