Adds SQL Binding Create Azure Function with SQL Binding tests (#19538)

* add a couple of azure function service tests

* address comments

* use mock for azureFunctionExtensionAPI
This commit is contained in:
Vasu Bhog
2022-05-31 21:04:39 -04:00
committed by GitHub
parent aeb1e776d4
commit 6c7a8313b2
6 changed files with 420 additions and 177 deletions

View File

@@ -9,7 +9,7 @@ import * as azureFunctionsUtils from '../common/azureFunctionsUtils';
/**
* This execute step is used to add a connection string to the local.settings.json file when creating a new Azure Functions project
* and is needed due to vscode restarting the extension host after the user chooses to open project in new window or current window
* and is needed due to vscode restarting the extension host after the user chooses to open project in new window or current window
* through the createFunction API call for vscode-azurefunctions
* @param projectFolder The folder containing the Azure Functions project
* @param connectionInfo The connection info to use when creating the connection string