Skip to content

Commit 0c7d002

Browse files
committed
update again
1 parent 463244c commit 0c7d002

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/api.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ suite(`AzureFunctionsExtensionApi`, () => {
9696
await validateProject(folderPath, validateOptions);
9797
});
9898

99-
// Intentionally pass a version (8) that hasn't been specified in targetFramework (6 & 7) to verify it isn't a possible pick. In the correct case (when 8 isn't a pick) this will cause an error to be thrown so no more picks are needed.
100-
// In the incorrect case (when 8 is a pick) this will cause the test to fail as there are no further picks being passed in.
99+
// Intentionally pass a version (8) that hasn't been specified in targetFramework (6 & 7) to verify it isn't a possible pick. In the correct case (when 8 isn't a pick) we throw an error. api.createFunction swallows the error and returns undefined.
100+
// In the incorrect case (when 8 is a pick) the test fails since the 2 provided test inputs have already been used, but there are more prompts.
101101
test('createFunction with language not in targetFramework', async () => {
102102
const functionName: string = 'endpoint1';
103103
const language: string = ProjectLanguage.CSharp;

0 commit comments

Comments
 (0)