From c316d493c724fbe2b68fdb738d3b637badf45c52 Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Thu, 27 Dec 2018 13:46:15 -0500 Subject: [PATCH] Tests update --- src/lib/services/tests/Utilities.test.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/services/tests/Utilities.test.js b/src/lib/services/tests/Utilities.test.js index 04255bf5..fc2c9d15 100644 --- a/src/lib/services/tests/Utilities.test.js +++ b/src/lib/services/tests/Utilities.test.js @@ -477,4 +477,10 @@ it('Keyboard removeAt will remove regular strings', () => { keyboard.caretPosition = 6; output = keyboard.utilities.removeAt("testie", 6, true); expect(keyboard.caretPosition).toBe(5); +}); + +it('Keyboard will work with custom (and weird) class', () => { + testUtil.setDOM("my--weird--class"); + let keyboard = new Keyboard(".my--weird--class"); + expect(keyboard.keyboardDOMClass).toBe("my--weird--class"); }); \ No newline at end of file