I have a simple component that I would like to test with integration test (ember-cli-qunit 4.0.0).
this.render(hbs``);
input1 = this.$('input')[0];
await fillIn(input1, 'first');
await fillIn(input1, '');
Let's assume that dynamicUpdate just do a console.log('foo') as it is not important for this question. The issue is that dynamicUpdate() is called just at the first change. After the change of render line to:
<input value= oninput= />
The function is executed twice as I have expected.
I'm aware of basic differences between and but I believe that it should not have impact in this case. Do you have ideas what could be a difference?
Aucun commentaire:
Enregistrer un commentaire