Demo test update

This commit is contained in:
Francisco Hodge 2018-11-24 21:10:47 -05:00
parent 5c42ae3fbb
commit b8fc9425ba

View File

@ -48,7 +48,7 @@ it('Demo input change will work', () => {
demo.onDOMLoaded();
document.body.querySelector('.input').value = "test";
document.body.querySelector('.input').dispatchEvent(new Event('change'));
document.body.querySelector('.input').dispatchEvent(new Event('input'));
expect(demo.keyboard.getInput()).toBe("test");
});