diff --git a/src/demo/tests/App.test.js b/src/demo/tests/App.test.js index 4e5c0b2f..3cb8ebeb 100644 --- a/src/demo/tests/App.test.js +++ b/src/demo/tests/App.test.js @@ -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"); });