I'm tring to test a component using svelte testing library.
The component has an input tag, whose value is bound (using bind:) to a state variable, and that state variable dictates the text of a title.
So when you change the value of the input tag, it changes the text in the title.
I set up a unit test with svelte testing library, and use fireEvent to change the value of the input tag, but upon asserting the text in the title, it is not changed. It is as if the input tag value changes, but the svelte component state does not update.
Why does the state not change and the title not update? Is there something extra I have to do to get it to update?
Codesandbox repro (run test cases to see problem): https://codesandbox.io/s/xnxjo