Skip to content

Commit

Permalink
Add debug line to investigate test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischrischris committed Oct 18, 2023
1 parent d26bfa8 commit 73fe332
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/blocks/caas-config/caas-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -775,9 +775,11 @@ const getEncodedObject = async (obj, replacer = null) => {

const b64encode = (buf) => btoa(String.fromCharCode(...new Uint8Array(buf)));

console.log(JSON.stringify(obj, fgKeyReplacer));
const stream = objToStream(obj);
const compressedResponse = await compressStream(stream);
const buffer = await responseToBuffer(compressedResponse);
console.log(new Int32Array(buffer));
return b64encode(buffer);
};

Expand Down

0 comments on commit 73fe332

Please sign in to comment.