@@ -7,11 +7,11 @@ import { runWithInputs } from '@microsoft/vscode-azext-dev';
77import { AzureExtensionApiProvider } from "@microsoft/vscode-azext-utils/api" ;
88import * as path from 'path' ;
99import { Extension , extensions } from "vscode" ;
10- import { extensionId , nonNullValue , ProjectLanguage , registerOnActionStartHandler } from '../extension.bundle' ;
10+ import { ProjectLanguage , extensionId , nonNullValue , registerOnActionStartHandler } from '../extension.bundle' ;
1111// eslint-disable-next-line no-restricted-imports
1212import { AzureFunctionsExtensionApi } from '../src/vscode-azurefunctions.api' ;
1313import { getTestWorkspaceFolder , testFolderPath } from './global.test' ;
14- import { getJavaScriptValidateOptions , IValidateProjectOptions , validateProject } from './project/validateProject' ;
14+ import { IValidateProjectOptions , getJavaScriptValidateOptions , validateProject } from './project/validateProject' ;
1515
1616suite ( `AzureFunctionsExtensionApi` , ( ) => {
1717 let api : AzureFunctionsExtensionApi ;
@@ -28,7 +28,7 @@ suite(`AzureFunctionsExtensionApi`, () => {
2828 const projectSubpath = 'api' ;
2929 const folderPath : string = path . join ( workspaceFolder , projectSubpath ) ;
3030
31- await runWithInputs ( 'api.createFunction' , [ language , functionName ] , registerOnActionStartHandler , async ( ) => {
31+ await runWithInputs ( 'api.createFunction' , [ language , / M o d e l V 3 / , functionName ] , registerOnActionStartHandler , async ( ) => {
3232 await api . createFunction ( {
3333 folderPath,
3434 suppressOpenFolder : true ,
@@ -55,7 +55,7 @@ suite(`AzureFunctionsExtensionApi`, () => {
5555 const language : string = ProjectLanguage . JavaScript ;
5656 const folderPath : string = path . join ( testFolderPath , language + 'createFunctionApi2' ) ;
5757
58- await runWithInputs ( 'api.createFunction' , [ language ] , registerOnActionStartHandler , async ( ) => {
58+ await runWithInputs ( 'api.createFunction' , [ language , / M o d e l V 3 / ] , registerOnActionStartHandler , async ( ) => {
5959 await api . createFunction ( {
6060 folderPath,
6161 functionName,
0 commit comments