Untuck tests out of __tests__ directories, colocate with program files
This commit is contained in:
10
src/utils/base64.test.ts
Normal file
10
src/utils/base64.test.ts
Normal file
@ -0,0 +1,10 @@
|
||||
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]));
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user