Add another test for fromBase64 (#76)
This commit is contained in:
parent
870ff908cc
commit
1618f1c032
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user