Skip to content

Commit

Permalink
prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
konnov committed Dec 12, 2024
1 parent 1e5f5b9 commit bbc84ef
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
3 changes: 2 additions & 1 deletion solarkraft/test/e2e/generated/alertHardcoded.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
// AUTO-GENERATED by alert-deploy.sh
export const ALERT_CONTRACT_HASH = "CCU7KC7WCEW3AWPOFZ4GHTJSESB3N2AIZXD4YPDWUKT67J6HSNTL4PZC"
export const ALERT_CONTRACT_HASH =
'CCU7KC7WCEW3AWPOFZ4GHTJSESB3N2AIZXD4YPDWUKT67J6HSNTL4PZC'
26 changes: 13 additions & 13 deletions solarkraft/test/e2e/invokeAlert.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
)
Expand All @@ -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)
Expand Down

0 comments on commit bbc84ef

Please sign in to comment.