@@ -25,7 +25,7 @@ describe('Config tests', () => {
2525 usePipDepTree : true ,
2626 mvn : {
2727 executable : { path : 'mockPath' } ,
28- preferWrapper : 'fallback '
28+ preferWrapper : 'true '
2929 } ,
3030 gradle : {
3131 executable : { path : 'mockPath' }
@@ -161,7 +161,7 @@ describe('Config tests', () => {
161161 expect ( mockConfig . exhortDockerPath ) . to . eq ( 'docker' ) ;
162162 expect ( mockConfig . exhortPodmanPath ) . to . eq ( 'podman' ) ;
163163 expect ( mockConfig . exhortImagePlatform ) . to . eq ( '' ) ;
164- expect ( mockConfig . exhortPreferMvnw ) . to . eq ( 'true' )
164+ expect ( mockConfig . exhortPreferMvnw ) . to . eq ( 'true' ) ;
165165 } ) ;
166166
167167 it ( 'should update configuration based on provided data' , ( ) => {
@@ -191,7 +191,8 @@ describe('Config tests', () => {
191191 expect ( mockConfig . exhortDockerPath ) . to . eq ( 'mockPath' ) ;
192192 expect ( mockConfig . exhortPodmanPath ) . to . eq ( 'mockPath' ) ;
193193 expect ( mockConfig . exhortImagePlatform ) . to . eq ( 'mockPlatform' ) ;
194- expect ( mockConfig . exhortPreferMvnw ) . to . eq ( 'false' )
194+ console . error ( typeof mockConfig . exhortPreferMvnw ) ;
195+ expect ( mockConfig . exhortPreferMvnw ) . to . equals ( 'true' ) ;
195196 } ) ;
196197
197198 it ( 'should update configuration based on provided partial data' , ( ) => {
@@ -221,7 +222,7 @@ describe('Config tests', () => {
221222 expect ( mockConfig . exhortDockerPath ) . to . eq ( 'docker' ) ;
222223 expect ( mockConfig . exhortPodmanPath ) . to . eq ( 'podman' ) ;
223224 expect ( mockConfig . exhortImagePlatform ) . to . eq ( '' ) ;
224- expect ( mockConfig . exhortPreferMvnw ) . to . eq ( 'true' )
225+ expect ( mockConfig . exhortPreferMvnw ) . to . eq ( 'true' ) ;
225226 } ) ;
226227
227228 it ( 'should set Exhort Snyk Token' , ( ) => {
0 commit comments