From b8fc9425bacef10a0a098b6a03c12af5501fbd6a Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Sat, 24 Nov 2018 21:10:47 -0500 Subject: [PATCH] Demo test update --- src/demo/tests/App.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); });