From 8aa762b894bf5400e5852051361fd94b8337d5e1 Mon Sep 17 00:00:00 2001 From: ManojNB Date: Thu, 25 Jan 2024 19:58:27 -0800 Subject: [PATCH] chore: minor updates --- jest.setup.js | 10 +++++----- packages/core/src/utils/deviceId/getDeviceId.ts | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/jest.setup.js b/jest.setup.js index 8f25c934a8f..05fbee97db1 100644 --- a/jest.setup.js +++ b/jest.setup.js @@ -2,11 +2,11 @@ // Comment out log level as necessary (e.g. while debugging tests) global.console = { ...console, - // log: jest.fn(), - // debug: jest.fn(), - // info: jest.fn(), - // warn: jest.fn(), - // error: jest.fn(), + log: jest.fn(), + debug: jest.fn(), + info: jest.fn(), + warn: jest.fn(), + error: jest.fn(), }; // React Native global diff --git a/packages/core/src/utils/deviceId/getDeviceId.ts b/packages/core/src/utils/deviceId/getDeviceId.ts index 650c36f17b2..43f733d2814 100644 --- a/packages/core/src/utils/deviceId/getDeviceId.ts +++ b/packages/core/src/utils/deviceId/getDeviceId.ts @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 // TODO: add native impl of this -// TODO: add tests import { Cache } from '../../Cache'; import { amplifyUuid } from '../amplifyUuid';