mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-03-13 14:41:08 +08:00
Update Utilities.test.js
This commit is contained in:
parent
86caf021fa
commit
6cf99720c4
@ -379,7 +379,7 @@ it('Keyboard handleMaxLength will work with numeric maxLength', () => {
|
|||||||
|
|
||||||
let output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
|
let output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
|
||||||
|
|
||||||
expect(output).toBeFalsy();
|
expect(output).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Keyboard handleMaxLength wont work with non numeric or object maxLength', () => {
|
it('Keyboard handleMaxLength wont work with non numeric or object maxLength', () => {
|
||||||
@ -490,4 +490,4 @@ it('Keyboard camelCase will work with empty strings', () => {
|
|||||||
testUtil.setDOM();
|
testUtil.setDOM();
|
||||||
let keyboard = new Keyboard();
|
let keyboard = new Keyboard();
|
||||||
expect(keyboard.utilities.camelCase()).toBeFalsy();
|
expect(keyboard.utilities.camelCase()).toBeFalsy();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user