1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-12-18 04:43:36 +01:00

Fix tests

This commit is contained in:
Aleksandr Gumroian
2024-09-05 13:01:34 +02:00
parent 499be46588
commit cc1389536e
2 changed files with 2 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ describe("<RebootButton/>", () => {
fireEvent.click(getByText(componentContainer, "Reboot"));
fireEvent.click(getByText(componentContainer, "Confirm reboot"));
expect(mockAxios.post).toHaveBeenCalledWith(
"/reforis/api/reboot",
"/api/reboot",
undefined,
expect.anything()
);