fix(frontend): sprint 5 — correct API path /simulation-templates → /templates
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -129,7 +129,7 @@ describe('SimulationList — admin/redteam', () => {
|
||||
|
||||
it('opens TemplatePickerModal when "From template…" is clicked', async () => {
|
||||
mock.onGet('/engagements/42/simulations').reply(200, SIMULATIONS);
|
||||
mock.onGet('/simulation-templates').reply(200, []);
|
||||
mock.onGet('/templates').reply(200, []);
|
||||
const user = userEvent.setup();
|
||||
renderWithProviders(<SimulationList engagementId={42} />);
|
||||
await waitFor(() => {
|
||||
|
||||
Reference in New Issue
Block a user