File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,8 @@ describe('all', () => {
4343 // alicePkpAuthContext = await createPkpAuthContext(ctx);
4444 eveCustomAuthContext = await createCustomAuthContext ( ctx ) ;
4545 } catch ( e ) {
46- console . error ( '❌ Failed to initialise E2E test context' ) ;
47- console . error ( e ) ;
48- throw e ;
46+ console . error ( '❌ Failed to initialise E2E test context' , e ) ;
47+ process . exit ( 1 ) ;
4948 }
5049 } ) ;
5150
Original file line number Diff line number Diff line change @@ -141,7 +141,18 @@ export const init = async (
141141 ) ;
142142 }
143143
144- // Fund accounts based on network type
144+ /**
145+ * ====================================
146+ * Initialise the LitClient
147+ * ====================================
148+ */
149+ const litClient = await createLitClient ( { network : _networkModule } ) ;
150+
151+ /**
152+ * ====================================
153+ * Fund accounts based on network type
154+ * ====================================
155+ */
145156 const isLocal = config . type === 'local' ;
146157 const masterAccount = isLocal ? localMasterAccount : liveMasterAccount ;
147158 const fundingAmount = isLocal
@@ -164,13 +175,6 @@ export const init = async (
164175 thenFundWith : fundingAmount ,
165176 } ) ;
166177
167- /**
168- * ====================================
169- * Initialise the LitClient
170- * ====================================
171- */
172- const litClient = await createLitClient ( { network : _networkModule } ) ;
173-
174178 /**
175179 * ====================================
176180 * (Master) Initialise Payment Manager
You can’t perform that action at this time.
0 commit comments