Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raw support test fails #2

Open
amandesai01 opened this issue Jul 25, 2024 · 0 comments
Open

raw support test fails #2

amandesai01 opened this issue Jul 25, 2024 · 0 comments

Comments

@amandesai01
Copy link
Member

raw support test fails since it doesnot expect Blob. This behaviour could be fixed by updating the test however would lead to inconsistency with other drivers.

TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Blob
 ❯ Function.from node:buffer:319:9
 ❯ test/utils.ts:108:19
    106|     }
    107|     expect(rValueLen).toBe(value.length);
    108|     expect(Buffer.from(rValue).toString("base64")).toBe(
       |                   ^
    109|       Buffer.from(value).toString("base64"),
    110|     );

Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant