Skip to content

Commit d21da6f

Browse files
authored
chore(ci): fix web unit test (#2638)
1 parent f9ed855 commit d21da6f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

web/src/components/wizard/tests/LinuxValidationStep.test.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@ const server = setupServer(
1616
});
1717
}),
1818

19+
// Mock preflight run endpoint
20+
http.post('*/api/linux/install/host-preflights/run', () => {
21+
return HttpResponse.json({ success: true });
22+
}),
23+
1924
// Mock start installation endpoint
2025
http.post('*/api/linux/install/infra/setup', () => {
2126
return HttpResponse.json({ success: true });
22-
})
27+
}),
2328
);
2429

2530
describe('LinuxValidationStep', () => {

0 commit comments

Comments
 (0)