@@ -59,8 +59,8 @@ describe('jdl - DefaultApplicationOptions', () => {
5959 it ( 'should set the client theme option to none' , ( ) => {
6060 expect ( options . clientTheme ) . to . equal ( 'none' ) ;
6161 } ) ;
62- it ( 'should set the client theme variant option to none ' , ( ) => {
63- expect ( options . clientThemeVariant ) . to . equal ( '' ) ;
62+ it ( 'should set the client theme variant option to undefined ' , ( ) => {
63+ expect ( options . clientThemeVariant ) . to . be . undefined ;
6464 } ) ;
6565 it ( 'should set withAdminUI option to true' , ( ) => {
6666 expect ( options . withAdminUi ) . to . be . true ;
@@ -139,8 +139,8 @@ describe('jdl - DefaultApplicationOptions', () => {
139139 it ( 'should set the client theme option to none' , ( ) => {
140140 expect ( options . clientTheme ) . to . equal ( 'none' ) ;
141141 } ) ;
142- it ( 'should set the client theme variant option to none ' , ( ) => {
143- expect ( options . clientThemeVariant ) . to . equal ( '' ) ;
142+ it ( 'should set the client theme variant option to undefined ' , ( ) => {
143+ expect ( options . clientThemeVariant ) . to . be . undefined ;
144144 } ) ;
145145 it ( 'should set the withAdminUi option to true' , ( ) => {
146146 expect ( options . withAdminUi ) . to . be . true ;
@@ -334,9 +334,6 @@ describe('jdl - DefaultApplicationOptions', () => {
334334 it ( 'should set the languages option to an empty array' , ( ) => {
335335 expect ( options . languages ) . to . be . eql ( [ ] ) ;
336336 } ) ;
337- it ( 'should set the package folder to com/mycompany/myapp' , ( ) => {
338- expect ( options . packageFolder ) . to . equal ( 'com/mycompany/myapp' ) ;
339- } ) ;
340337 it ( 'should set the package name to com.mycompany.myapp' , ( ) => {
341338 expect ( options . packageName ) . to . equal ( 'com.mycompany.myapp' ) ;
342339 } ) ;
@@ -366,19 +363,6 @@ describe('jdl - DefaultApplicationOptions', () => {
366363 expect ( packageNameOption ) . to . equal ( 'a.b.c.d' ) ;
367364 } ) ;
368365 } ) ;
369- describe ( 'when there is no package folder option but only a package name' , ( ) => {
370- let packageFolderOption ;
371-
372- before ( ( ) => {
373- packageFolderOption = getDefaultConfigForNewApplication ( {
374- packageName : 'a.b.c.d' ,
375- } ) . packageFolder ;
376- } ) ;
377-
378- it ( 'should set the package name accordingly' , ( ) => {
379- expect ( packageFolderOption ) . to . equal ( 'a/b/c/d' ) ;
380- } ) ;
381- } ) ;
382366 describe ( 'when the client framework option is angular' , ( ) => {
383367 let clientFrameworkOption ;
384368
0 commit comments