15 lines
368 B
TypeScript
15 lines
368 B
TypeScript
import { minuteFloor } from './minuteFloor';
|
|
|
|
test('Should return the correct Base32 value', () => {
|
|
expect(minuteFloor(1605532173)).toEqual('1fr3bi0');
|
|
});
|
|
|
|
test('Should return something for a null value', () => {
|
|
expect(minuteFloor(null)).toBeDefined();
|
|
});
|
|
|
|
test('Should return something for an empty value', () => {
|
|
expect(minuteFloor()).toBeDefined();
|
|
});
|
|
|