@@ -66,6 +66,7 @@ describe("InitCommand", () => {
66
66
await lernaInit ( testDir ) ( "--exact" ) ;
67
67
68
68
expect ( await fs . readJSON ( path . join ( testDir , "lerna.json" ) ) ) . toMatchObject ( {
69
+ $schema : "node_modules/lerna/schemas/lerna-schema.json" ,
69
70
command : {
70
71
init : {
71
72
exact : true ,
@@ -91,6 +92,7 @@ describe("InitCommand", () => {
91
92
] ) ;
92
93
93
94
expect ( lernaJson ) . toMatchObject ( {
95
+ $schema : "node_modules/lerna/schemas/lerna-schema.json" ,
94
96
packages : [ "packages/*" ] ,
95
97
version : "0.0.0" ,
96
98
} ) ;
@@ -190,6 +192,7 @@ describe("InitCommand", () => {
190
192
await lernaInit ( testDir ) ( ) ;
191
193
192
194
expect ( await fs . readJSON ( lernaJsonPath ) ) . toEqual ( {
195
+ $schema : "node_modules/lerna/schemas/lerna-schema.json" ,
193
196
packages : [ "packages/*" ] ,
194
197
useNx : false ,
195
198
version : "1.2.3" ,
@@ -223,6 +226,7 @@ describe("InitCommand", () => {
223
226
hoist : true ,
224
227
} ,
225
228
} ,
229
+ $schema : "node_modules/lerna/schemas/lerna-schema.json" ,
226
230
version : "1.2.3" ,
227
231
} ) ;
228
232
await fs . outputJSON ( pkgJsonPath , {
@@ -242,6 +246,7 @@ describe("InitCommand", () => {
242
246
exact : true ,
243
247
} ,
244
248
} ,
249
+ $schema : "node_modules/lerna/schemas/lerna-schema.json" ,
245
250
packages : [ "packages/*" ] ,
246
251
useNx : false ,
247
252
version : "1.2.3" ,
0 commit comments