From fe8535984ae4037e18a631371b60c0e237d4cab7 Mon Sep 17 00:00:00 2001 From: David Debreceni Date: Mon, 26 Feb 2024 15:52:09 +0100 Subject: [PATCH] feat: cleanup util timeout, result log --- tests/utils/unit/cleanUp.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/utils/unit/cleanUp.ts b/tests/utils/unit/cleanUp.ts index 21ccbce..ecd6cf9 100644 --- a/tests/utils/unit/cleanUp.ts +++ b/tests/utils/unit/cleanUp.ts @@ -16,10 +16,11 @@ export const cleanUp = async (tableName: string) => { }), }), ); + console.log("🚀 ~ cleanUp ~ res:", res); - const payload = res.Payload - ? Buffer.from(res.Payload?.buffer).toString() - : undefined; - - return JSON.parse(payload || ""); + // const payload = res.Payload + // ? Buffer.from(res.Payload?.buffer).toString() + // : undefined; + return; + // return JSON.parse(payload || ""); };