From e9aad91e1b3db1a432c645ffd9b3a897ee71221d Mon Sep 17 00:00:00 2001 From: Marcin Slezak Date: Mon, 30 Oct 2023 12:01:36 +0100 Subject: [PATCH] remnove logging and fix test automation --- composable-ui/src/utils/__mocks__/api.ts | 6 ++++++ packages/commerce-generic/src/data/persit.ts | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/composable-ui/src/utils/__mocks__/api.ts b/composable-ui/src/utils/__mocks__/api.ts index 49ecc9d..2512398 100644 --- a/composable-ui/src/utils/__mocks__/api.ts +++ b/composable-ui/src/utils/__mocks__/api.ts @@ -28,21 +28,27 @@ export const api = { items: [ { __typename: 'BannerSplit', + id: '23385feb-cd12-4122-8105-bf5da178d70c', }, { __typename: 'BannerFull', + id: '2d095fdd-e3ea-4f7a-907a-359ef1d0593d', }, { __typename: 'BannerTextOnly', + id: '40433348-1eb0-43fd-99dc-090c79972512', }, { __typename: 'BannerTextOnly', + id: 'a609a45e-f3f2-4cfc-8709-29a08153c9ac', }, { __typename: 'Grid', + id: '9fad8aa3-6e8d-43e2-b79a-492409b49003', }, { __typename: 'CommerceConnector', + id: '662f1110-8a51-4a11-9a8e-730a43d6867d', }, ], }, diff --git a/packages/commerce-generic/src/data/persit.ts b/packages/commerce-generic/src/data/persit.ts index abc733c..9dd7eb1 100644 --- a/packages/commerce-generic/src/data/persit.ts +++ b/packages/commerce-generic/src/data/persit.ts @@ -7,7 +7,6 @@ const storageFolderPath = path.join(os.tmpdir(), 'composable-ui-storage') storage.init({ dir: storageFolderPath, - logging: true, }) export const getOrder = async (orderId: string): Promise => {