From d2f744198fedf2f9be881125b0fa7ff4eeb8ae7c Mon Sep 17 00:00:00 2001 From: sunderls <2394070+sunderls@users.noreply.github.com> Date: Sun, 6 Feb 2022 21:55:58 +0000 Subject: [PATCH] update node.js version for CI --- .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')", ); }); });