compat-table icon indicating copy to clipboard operation
compat-table copied to clipboard

Implement the "Uint8Array to/from base64 and hex" tests

Open afmenez opened this issue 1 year ago • 3 comments

I am not sure about the 'significance' field.

afmenez avatar Oct 15 '24 18:10 afmenez

The tests from https://github.com/es-shims/es-arraybuffer-base64/tree/main/test could help make these more thorough.

(There's also 6 methods, and you've only got 4 methods added here)

ljharb avatar Oct 15 '24 19:10 ljharb

I have added the 2 missing tests, but I don't believe the tests here need to be so complete... are we going for conformance tests or basic functionality tests?

afmenez avatar Oct 15 '24 22:10 afmenez

They definitely don't need to be fully complete - more like, find some of the edge cases, and exercise all of the options.

ljharb avatar Oct 16 '24 00:10 ljharb