@@ -18,15 +18,14 @@ const expectedFlavorChoices = [
18
18
{ key : "Plain TypeScript" , description : "Learn more at https://nativescript.org/typescript" } ,
19
19
{ key : "Plain JavaScript" , description : "Use NativeScript without any framework" }
20
20
] ;
21
- const expectedTemplateChoices = [
22
- { key : "Hello World" , description : "A Hello World app" } ,
23
- { key : "SideDrawer" , description : "An app with pre-built pages that uses a drawer for navigation" } ,
24
- { key : "Tabs" , description : "An app with pre-built pages that uses tabs for navigation" }
25
- ] ;
26
- const expectedTemplateChoicesVue = [
27
- { key : "Blank" , description : "A blank app" } ,
28
- { key : "SideDrawer" , description : "An app with pre-built pages that uses a drawer for navigation" }
29
- ] ;
21
+ const templateChoises = {
22
+ helloWorld : { key : "Hello World" , description : "A Hello World app" } ,
23
+ blank : { key : "Blank" , description : "A blank app" } ,
24
+ sideDrawer : { key : "SideDrawer" , description : "An app with pre-built pages that uses a drawer for navigation" } ,
25
+ tabs : { key : "Tabs" , description : "An app with pre-built pages that uses tabs for navigation" }
26
+ } ;
27
+ const expectedTemplateChoices = [ templateChoises . helloWorld , templateChoises . sideDrawer , templateChoises . tabs ] ;
28
+ const expectedTemplateChoicesVue = [ templateChoises . blank , templateChoises . sideDrawer , templateChoises . tabs ] ;
30
29
31
30
class ProjectServiceMock implements IProjectService {
32
31
async validateProjectName ( opts : { projectName : string , force : boolean , pathToProject : string } ) : Promise < string > {
0 commit comments