File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,25 @@ import path from 'path';
33
44describe ( 'Version Check' , ( ) => {
55 it ( 'checks @lit-protocol/uint8arrays version is 8.0.0' , ( ) => {
6- const distPkgPath = path . join ( __dirname , '../../dist/packages/uint8arrays/package.json' ) ;
6+ const distPkgPath = path . join (
7+ __dirname ,
8+ '../../dist/packages/uint8arrays/package.json'
9+ ) ;
710 const distPkg = JSON . parse ( fs . readFileSync ( distPkgPath , 'utf8' ) ) ;
811 expect ( distPkg . version ) . toBe ( '8.0.0' ) ;
912 } ) ;
1013
1114 it ( 'verifies other packages maintain their versions' , ( ) => {
12- const uint8arraysPath = path . join ( __dirname , '../../dist/packages/uint8arrays/package.json' ) ;
15+ const uint8arraysPath = path . join (
16+ __dirname ,
17+ '../../dist/packages/uint8arrays/package.json'
18+ ) ;
1319 const uint8arraysPkg = JSON . parse ( fs . readFileSync ( uint8arraysPath , 'utf8' ) ) ;
14-
20+
1521 // Check that dependencies maintain their original versions
16- expect ( uint8arraysPkg . dependencies [ '@lit-protocol/constants' ] ) . toBe ( '7.0.4' ) ;
22+ expect ( uint8arraysPkg . dependencies [ '@lit-protocol/constants' ] ) . toBe (
23+ '7.0.4'
24+ ) ;
1725 expect ( uint8arraysPkg . dependencies [ '@lit-protocol/types' ] ) . toBe ( '7.0.4' ) ;
1826 } ) ;
1927} ) ;
Original file line number Diff line number Diff line change 2222 " universal"
2323 ],
2424 "version" : " 8.0.0"
25- }
25+ }
You can’t perform that action at this time.
0 commit comments