From bbc84ef13359f9e055392f5cfbe3e98d0e523258 Mon Sep 17 00:00:00 2001 From: Igor Konnov Date: Thu, 12 Dec 2024 18:26:15 +0100 Subject: [PATCH] prettier formatting --- .../test/e2e/generated/alertHardcoded.ts | 3 ++- solarkraft/test/e2e/invokeAlert.test.ts | 26 +++++++++---------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/solarkraft/test/e2e/generated/alertHardcoded.ts b/solarkraft/test/e2e/generated/alertHardcoded.ts index 6651739..ca3bc18 100644 --- a/solarkraft/test/e2e/generated/alertHardcoded.ts +++ b/solarkraft/test/e2e/generated/alertHardcoded.ts @@ -1,2 +1,3 @@ // AUTO-GENERATED by alert-deploy.sh -export const ALERT_CONTRACT_HASH = "CCU7KC7WCEW3AWPOFZ4GHTJSESB3N2AIZXD4YPDWUKT67J6HSNTL4PZC" +export const ALERT_CONTRACT_HASH = + 'CCU7KC7WCEW3AWPOFZ4GHTJSESB3N2AIZXD4YPDWUKT67J6HSNTL4PZC' diff --git a/solarkraft/test/e2e/invokeAlert.test.ts b/solarkraft/test/e2e/invokeAlert.test.ts index 7a2a65e..568134a 100644 --- a/solarkraft/test/e2e/invokeAlert.test.ts +++ b/solarkraft/test/e2e/invokeAlert.test.ts @@ -45,10 +45,12 @@ describe('alert contract invocation', () => { this.timeout(50000) spawn( 'solarkraft', - [ 'verify', '--home=./test/e2e/tla/', - '--txHash=406d278860b5531dd1443532f3457c5daa288e8eb0007d2a8e2aa0127e87949e', - '--monitor=./test/e2e/tla/setter_mon.tla', - '--alert=bogus' + [ + 'verify', + '--home=./test/e2e/tla/', + '--txHash=406d278860b5531dd1443532f3457c5daa288e8eb0007d2a8e2aa0127e87949e', + '--monitor=./test/e2e/tla/setter_mon.tla', + '--alert=bogus', ], { verbose: true } ) @@ -59,15 +61,13 @@ describe('alert contract invocation', () => { it('alerts the contract when specified', function (done) { this.timeout(50000) - spawn( - 'solarkraft', - [ 'verify', - '--home=test/e2e/tla/', - '--txHash=406d278860b5531dd1443532f3457c5daa288e8eb0007d2a8e2aa0127e87949e', - '--monitor=test/e2e/tla/setter_mon.tla', - `--alert=${ALERT_CONTRACT_HASH}` - ] - ) + spawn('solarkraft', [ + 'verify', + '--home=test/e2e/tla/', + '--txHash=406d278860b5531dd1443532f3457c5daa288e8eb0007d2a8e2aa0127e87949e', + '--monitor=test/e2e/tla/setter_mon.tla', + `--alert=${ALERT_CONTRACT_HASH}`, + ]) .wait('Preparing to submit alert.') .wait('Transaction successful') .run(done)