blob: 06d058a8774fb13c8f52d3876ed7ca87b870d829 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import {test, assert} from 'vitest';
import looseParseInt from './loose-parse-int';
test('looseParseInt', () => {
assert.equal(looseParseInt('1,234'), 1234);
assert.equal(looseParseInt('Bugs 1,234'), 1234);
assert.equal(looseParseInt('5000+ issues'), 5000);
});
|