| "yup": "^0.32.9" | "yup": "^0.32.9" | ||||
| }, | }, | ||||
| "scripts": { | "scripts": { | ||||
| "start": "react-scripts --openssl-legacy-provider start", | |||||
| "start": "react-scripts start", | |||||
| "build": "react-scripts build", | "build": "react-scripts build", | ||||
| "test": "react-scripts test", | "test": "react-scripts test", | ||||
| "eject": "react-scripts eject", | "eject": "react-scripts eject", |
| isChecked: true, | isChecked: true, | ||||
| }, | }, | ||||
| ], | ], | ||||
| startingDate: "", | |||||
| endingDate: "", | |||||
| typesOfEmployments: [], | |||||
| }; | }; | ||||
| const cont = ( | const cont = ( | ||||
| expect(btn).toBeDefined(); | expect(btn).toBeDefined(); | ||||
| }); | }); | ||||
| }); | }); | ||||
| it("Should change ending date", async () => { | |||||
| render(cont); | |||||
| const input = screen.getByTestId("filter-date-container-ending-date"); | |||||
| waitFor(() => { | |||||
| fireEvent.change(input, { target: { value: "2024-05-24" } }); | |||||
| expect(input).toBeDefined(); | |||||
| }); | |||||
| }); | |||||
| }); | }); |