Skip to content

Commit 09443b2

Browse files
committed
added comments for test
1 parent 83d5968 commit 09443b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/statements.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ describe("Get Bank Verification Test", () => {
2929
const res = await unit.statements.getBankVerification(account.data.id)
3030
expect(res.includes("PDF")).toBeTruthy()
3131

32-
// Example for saving the pdf on the server, note that the default response encoding is "binary"
32+
// Example for saving the pdf on the server,
3333
// fs.writeFileSync(__dirname + "/bankVerification.pdf", res, "binary")
34+
35+
// note that the default responseEncoding is "binary" and responseType is "blob" and may be changed according
36+
// to different setups
3437
})
3538
})

0 commit comments

Comments
 (0)