@@ -1645,28 +1645,28 @@ describe('loadCliConfig useRipgrep', () => {
16451645 vi . restoreAllMocks ( ) ;
16461646 } ) ;
16471647
1648- it ( 'should be false by default when useRipgrep is not set in settings' , async ( ) => {
1648+ it ( 'should be true by default when useRipgrep is not set in settings' , async ( ) => {
16491649 process . argv = [ 'node' , 'script.js' ] ;
16501650 const argv = await parseArguments ( { } as Settings ) ;
16511651 const settings : Settings = { } ;
16521652 const config = await loadCliConfig ( settings , [ ] , 'test-session' , argv ) ;
1653- expect ( config . getUseRipgrep ( ) ) . toBe ( false ) ;
1653+ expect ( config . getUseRipgrep ( ) ) . toBe ( true ) ;
16541654 } ) ;
16551655
1656- it ( 'should be true when useRipgrep is set to true in settings' , async ( ) => {
1656+ it ( 'should be false when useRipgrep is set to false in settings' , async ( ) => {
16571657 process . argv = [ 'node' , 'script.js' ] ;
16581658 const argv = await parseArguments ( { } as Settings ) ;
1659- const settings : Settings = { tools : { useRipgrep : true } } ;
1659+ const settings : Settings = { tools : { useRipgrep : false } } ;
16601660 const config = await loadCliConfig ( settings , [ ] , 'test-session' , argv ) ;
1661- expect ( config . getUseRipgrep ( ) ) . toBe ( true ) ;
1661+ expect ( config . getUseRipgrep ( ) ) . toBe ( false ) ;
16621662 } ) ;
16631663
1664- it ( 'should be false when useRipgrep is explicitly set to false in settings' , async ( ) => {
1664+ it ( 'should be true when useRipgrep is explicitly set to true in settings' , async ( ) => {
16651665 process . argv = [ 'node' , 'script.js' ] ;
16661666 const argv = await parseArguments ( { } as Settings ) ;
1667- const settings : Settings = { tools : { useRipgrep : false } } ;
1667+ const settings : Settings = { tools : { useRipgrep : true } } ;
16681668 const config = await loadCliConfig ( settings , [ ] , 'test-session' , argv ) ;
1669- expect ( config . getUseRipgrep ( ) ) . toBe ( false ) ;
1669+ expect ( config . getUseRipgrep ( ) ) . toBe ( true ) ;
16701670 } ) ;
16711671} ) ;
16721672
0 commit comments