@@ -64,11 +64,11 @@ describe("setupConfigFile & Backup Creation", () => {
6464 // 3. Retrieve config (this triggers the migration process and onStep callback)
6565 const migratedConfig = await configInstance . getConfig ( ) ;
6666
67- // 4. Assert the main config is updated on disk to version 2 .0.0
68- expect ( migratedConfig . version ) . toBe ( "2 .0.0" ) ;
67+ // 4. Assert the main config is updated on disk to version 3 .0.0
68+ expect ( migratedConfig . version ) . toBe ( "3 .0.0" ) ;
6969
7070 const updatedContent = JSON . parse ( await fs . readFile ( projectsFilePath , "utf8" ) ) ;
71- expect ( updatedContent . version ) . toBe ( "2 .0.0" ) ;
71+ expect ( updatedContent . version ) . toBe ( "3 .0.0" ) ;
7272
7373 // 5. Assert that the intermediate backup file was created on disk
7474 const backupFilePath = path . join ( configDir , "projects.v2.0.0.json" ) ;
@@ -92,7 +92,7 @@ describe("setupConfigFile & Backup Creation", () => {
9292 // Should create file with default value
9393 expect ( existsSync ( projectsFilePath ) ) . toBe ( true ) ;
9494 const content = JSON . parse ( await fs . readFile ( projectsFilePath , "utf8" ) ) ;
95- expect ( content . version ) . toBe ( "2 .0.0" ) ;
95+ expect ( content . version ) . toBe ( "3 .0.0" ) ;
9696 expect ( content . projects ) . toHaveLength ( 1 ) ;
9797 expect ( content . pipelines ) . toEqual ( [ ] ) ;
9898 } ) ;
@@ -107,7 +107,7 @@ describe("setupConfigFile & Backup Creation", () => {
107107 const configInstance = await setupConfigFile < FileRepo > ( "projects" , { context } ) ;
108108 const config = await configInstance . getConfig ( ) ;
109109
110- expect ( config . version ) . toBe ( "2 .0.0" ) ;
110+ expect ( config . version ) . toBe ( "3 .0.0" ) ;
111111 expect ( config . projects ) . toHaveLength ( 1 ) ;
112112 expect ( config . pipelines ) . toEqual ( [ ] ) ;
113113
0 commit comments