Skip to content

Commit

Permalink
feat: cleanup util timeout, result log
Browse files Browse the repository at this point in the history
  • Loading branch information
debrecenid committed Feb 26, 2024
1 parent 8371eba commit fe85359
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/utils/unit/cleanUp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 || "");
};

0 comments on commit fe85359

Please sign in to comment.