diff --git a/src/lib/services/tests/Utilities.test.js b/src/lib/services/tests/Utilities.test.js index 01252561..35a1e43c 100644 --- a/src/lib/services/tests/Utilities.test.js +++ b/src/lib/services/tests/Utilities.test.js @@ -379,7 +379,7 @@ it('Keyboard handleMaxLength will work with numeric maxLength', () => { 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', () => { @@ -490,4 +490,4 @@ it('Keyboard camelCase will work with empty strings', () => { testUtil.setDOM(); let keyboard = new Keyboard(); expect(keyboard.utilities.camelCase()).toBeFalsy(); -}); \ No newline at end of file +});