4
0
mirror of https://github.com/hodgef/simple-keyboard.git synced 2025-04-05 14:51:55 +08:00

Updating tests

This commit is contained in:
Francisco Hodge 2018-11-16 23:30:57 -05:00
parent ba09ac7952
commit e6d6c78389

@ -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();