mirror of
https://github.com/google-github-actions/auth.git
synced 2026-06-09 06:17:04 +00:00
Add another test for fromBase64 (#76)
This commit is contained in:
parent
870ff908cc
commit
1618f1c032
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue