feat(Badge): max support string type
This commit is contained in:
@@ -91,6 +91,7 @@ test('isMobile', () => {
|
||||
});
|
||||
|
||||
test('isNumeric', () => {
|
||||
expect(isNumeric(1)).toBeTruthy();
|
||||
expect(isNumeric('1')).toBeTruthy();
|
||||
expect(isNumeric('1.2')).toBeTruthy();
|
||||
expect(isNumeric('1..2')).toBeFalsy();
|
||||
|
||||
Reference in New Issue
Block a user