@@ -107,21 +107,21 @@ describe("sync CLI e2e", () => {
107107 ) . toContain ( "AGE-SECRET-KEY-" ) ;
108108 expect (
109109 JSON . parse (
110- await readFile ( join ( ctx . xdgDir , "devsync" , "settings.json " ) , "utf8" ) ,
110+ await readFile ( join ( ctx . xdgDir , "devsync" , "settings.jsonc " ) , "utf8" ) ,
111111 ) ,
112112 ) . toMatchObject ( {
113113 activeProfile : "default" ,
114114 version : 3 ,
115115 } ) ;
116116 expect (
117117 JSON . parse (
118- await readFile ( join ( ctx . xdgDir , "devsync" , "settings.json " ) , "utf8" ) ,
118+ await readFile ( join ( ctx . xdgDir , "devsync" , "settings.jsonc " ) , "utf8" ) ,
119119 ) ,
120120 ) . not . toHaveProperty ( "age" ) ;
121121 expect (
122122 JSON . parse (
123123 await readFile (
124- join ( ctx . xdgDir , "devsync" , "repository" , "manifest.json " ) ,
124+ join ( ctx . xdgDir , "devsync" , "repository" , "manifest.jsonc " ) ,
125125 "utf8" ,
126126 ) ,
127127 ) ,
@@ -163,15 +163,15 @@ describe("sync CLI e2e", () => {
163163
164164 await ctx . runGit ( [ "init" , "-b" , "main" , sourceRepository ] ) ;
165165 await writeFile (
166- join ( sourceRepository , "manifest.json " ) ,
166+ join ( sourceRepository , "manifest.jsonc " ) ,
167167 formatSyncConfig (
168168 createInitialSyncConfig ( {
169169 recipients : [ ageKeys . recipient ] ,
170170 } ) ,
171171 ) ,
172172 "utf8" ,
173173 ) ;
174- await ctx . runGit ( [ "add" , "manifest.json " ] , sourceRepository ) ;
174+ await ctx . runGit ( [ "add" , "manifest.jsonc " ] , sourceRepository ) ;
175175 await ctx . runGit (
176176 [ "commit" , "-m" , "initial manifest" , "--author" , "test <test@test.com>" ] ,
177177 sourceRepository ,
@@ -227,15 +227,15 @@ describe("sync CLI e2e", () => {
227227
228228 await ctx . runGit ( [ "init" , "-b" , "main" , sourceRepository ] ) ;
229229 await writeFile (
230- join ( sourceRepository , "manifest.json " ) ,
230+ join ( sourceRepository , "manifest.jsonc " ) ,
231231 formatSyncConfig (
232232 createInitialSyncConfig ( {
233233 recipients : [ ageKeys . recipient ] ,
234234 } ) ,
235235 ) ,
236236 "utf8" ,
237237 ) ;
238- await ctx . runGit ( [ "add" , "manifest.json " ] , sourceRepository ) ;
238+ await ctx . runGit ( [ "add" , "manifest.jsonc " ] , sourceRepository ) ;
239239 await ctx . runGit (
240240 [ "commit" , "-m" , "initial manifest" , "--author" , "test <test@test.com>" ] ,
241241 sourceRepository ,
@@ -260,15 +260,15 @@ describe("sync CLI e2e", () => {
260260
261261 await ctx . runGit ( [ "init" , "-b" , "main" , sourceRepository ] ) ;
262262 await writeFile (
263- join ( sourceRepository , "manifest.json " ) ,
263+ join ( sourceRepository , "manifest.jsonc " ) ,
264264 formatSyncConfig (
265265 createInitialSyncConfig ( {
266266 recipients : [ ageKeys . recipient ] ,
267267 } ) ,
268268 ) ,
269269 "utf8" ,
270270 ) ;
271- await ctx . runGit ( [ "add" , "manifest.json " ] , sourceRepository ) ;
271+ await ctx . runGit ( [ "add" , "manifest.jsonc " ] , sourceRepository ) ;
272272 await ctx . runGit (
273273 [ "commit" , "-m" , "initial manifest" , "--author" , "test <test@test.com>" ] ,
274274 sourceRepository ,
@@ -343,7 +343,7 @@ describe("sync CLI e2e", () => {
343343 "ignore" ,
344344 ] ) ;
345345 const configAfterSet = JSON . parse (
346- await readFile ( join ( syncDirectory , "manifest.json " ) , "utf8" ) ,
346+ await readFile ( join ( syncDirectory , "manifest.jsonc " ) , "utf8" ) ,
347347 ) as {
348348 entries : Array < {
349349 kind : string ;
@@ -387,7 +387,7 @@ describe("sync CLI e2e", () => {
387387 await ctx . runCli ( [ "untrack" , ".config/mytool/public.json" ] ) ;
388388
389389 const configAfterUntrack = JSON . parse (
390- await readFile ( join ( syncDirectory , "manifest.json " ) , "utf8" ) ,
390+ await readFile ( join ( syncDirectory , "manifest.jsonc " ) , "utf8" ) ,
391391 ) as {
392392 entries : unknown [ ] ;
393393 } ;
0 commit comments