We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26a637c commit b5c3a82Copy full SHA for b5c3a82
tests/base64.test.js
@@ -56,7 +56,7 @@ describe('fromBase64', () => {
56
...['a-+a', 'aa+_', 'aa_/', '-a/a'], // mixed base64/base64url
57
...['aa=='], // non-strict
58
]) {
59
- if (Uint8Array.fromBase64 && !['jsc', 'webkit'].includes(process.env.EXODUS_TEST_PLATFORM)) {
+ if (Uint8Array.fromBase64 && !['jsc', 'webkit', 'spidermonkey'].includes(process.env.EXODUS_TEST_PLATFORM)) {
60
t.assert.throws(() => Uint8Array.fromBase64(input, { lastChunkEncoding: 'strict' }))
61
t.assert.throws(() => Uint8Array.fromBase64(input, { lastChunkEncoding: 'strict', alphabet: 'base64' }))
62
t.assert.throws(() => Uint8Array.fromBase64(input, { lastChunkEncoding: 'strict', alphabet: 'base64url' }))
0 commit comments