Add another test for fromBase64 (#76)

This commit is contained in:
Seth Vargo 2021-12-07 11:22:31 -05:00 committed by GitHub
parent 870ff908cc
commit 1618f1c032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,6 +148,11 @@ describe('Utils', () => {
input: 'aGVsbG8==', input: 'aGVsbG8==',
expected: 'hello', expected: 'hello',
}, },
{
name: 'decodes semi-padded',
input: 'aGVsbG8=',
expected: 'hello',
},
]; ];
cases.forEach((tc) => { cases.forEach((tc) => {