bigbuffet-rw/app/soapbox/__tests__/compare_id.test.ts
2022-08-05 10:59:48 -05:00

7 lines
192 B
TypeScript

import compareId from '../compare_id';
test('compareId', () => {
expect(compareId('3', '3')).toBe(0);
expect(compareId('10', '1')).toBe(1);
expect(compareId('99', '100')).toBe(-1);
});