JohannesHoppe / angular-date-value-accessor

Home of the Angular DateValueAccessor for <input type="date">
http://johanneshoppe.github.io/angular-date-value-accessor/
MIT License
78 stars 19 forks source link

Fix UT issue: dispatchInputEvent() never resolves #23

Closed spierala closed 3 years ago

spierala commented 3 years ago

Hi @JohannesHoppe

The UTs had an issue with resolving the promise of dispatchInputEvent As a result the expects inside dispatchInputEvent.then were not running.

See screenshot: image

Now it looks better :) image

Found the solution here: https://stackoverflow.com/questions/39582707/updating-input-html-field-from-within-an-angular-2-test

JohannesHoppe commented 3 years ago

Wow, I actually never noticed that problem! 😮