P
it("renders a PatientDetails", async () => {
const { container } = render(
<MemoryRouter>
<PatientDetails store={store} />
</MemoryRouter>
);
await waitFor(() => {
const identifiedInput = container.querySelector(".identified input");
fireEvent.change(identifiedInput, { target: { value: '__/__/____' } });
});
expect(container).toMatchSnapshot();
});
почему fireEvent не меняет значение инпута в контейнере


