From 1ff334ae46ed7bc3b9f4dc469499df51fb0bd10b Mon Sep 17 00:00:00 2001 From: Marwane Koutar Date: Fri, 21 Jun 2024 19:44:45 +0200 Subject: [PATCH] Update templateService test to use the correct URL for fetching templates --- .../core-lib/src/__tests__/unit/templateService.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vscode-extension/packages/core-lib/src/__tests__/unit/templateService.test.ts b/vscode-extension/packages/core-lib/src/__tests__/unit/templateService.test.ts index b82b4f4..6ca5fde 100644 --- a/vscode-extension/packages/core-lib/src/__tests__/unit/templateService.test.ts +++ b/vscode-extension/packages/core-lib/src/__tests__/unit/templateService.test.ts @@ -54,7 +54,7 @@ describe("TemplateService", () => { expect(data.list[1].name).toBe("sqsToLambda"); expect(data.list[1].path).toBe("some/path/to/sqs.png"); expect(axios.get).toHaveBeenCalledWith( - "https://example.com/templates.json", + "https://example.com/templates.json/main/cookiecutter.json", ); axiosGetSpy.mockRestore();