You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import * as base64 from '../base64';
|
|
|
|
describe('base64', () => {
|
|
describe('decode', () => {
|
|
it('returns a uint8 array', () => {
|
|
const arr = base64.decode('dGVzdA==');
|
|
expect(arr).toEqual(new Uint8Array([116, 101, 115, 116]));
|
|
});
|
|
});
|
|
});
|
|
|