From 1d7728bf9daebb7e04f13fc13bb595c12caae46d Mon Sep 17 00:00:00 2001 From: sunderls <2394070+sunderls@users.noreply.github.com> Date: Mon, 7 Feb 2022 01:10:37 +0000 Subject: [PATCH] update node.js version for CI (#23236) --- .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 a9905a53b7a9f..2e54806b6ffff 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 aliases: - &docker - - image: cimg/openjdk:17.0.0-node + - image: cimg/openjdk:17.0.2-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 cb3a40aa13ab7..ca5c7c0b5b916 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 property 'toUpperCase' of undefined", + "Cannot read properties of undefined (reading 'toUpperCase')", ); }); @@ -935,7 +935,7 @@ describe('Shared useSyncExternalStore behavior (shim and built-in)', () => { store.set({}); }); expect(container.textContent).toEqual( - "Cannot read property 'trim' of undefined", + "Cannot read properties of undefined (reading 'trim')", ); }); });