diff --git a/src/lib/components/tests/Keyboard.test.js b/src/lib/components/tests/Keyboard.test.js index 0ee61f7a..ee297044 100644 --- a/src/lib/components/tests/Keyboard.test.js +++ b/src/lib/components/tests/Keyboard.test.js @@ -64,6 +64,7 @@ it('Keyboard will use touch events', () => { keyboard.getButtonElement("q").ontouchstart(); keyboard.getButtonElement("q").ontouchend(); + keyboard.getButtonElement("q").ontouchcancel(); expect(keyboard.options.useTouchEvents).toBeTruthy(); expect(touched).toBeTruthy();