Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Mar 27, 2024
1 parent a54d970 commit 2128daa
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions apps/laboratory/tests/canary.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ const ENV = process.env['ENVIRONMENT'] || 'dev'
const REGION = process.env['REGION'] || 'eu-central-1'

testConnectedMW.beforeEach(async ({ modalValidator, walletValidator }) => {
console.time("beforeEach expectConnection")
console.time('beforeEach expectConnection')

Check failure on line 9 in apps/laboratory/tests/canary.spec.ts

View workflow job for this annotation

GitHub Actions / code_style (lint)

Unexpected console statement
await expectConnection(modalValidator, walletValidator)
console.timeEnd("beforeEach expectConnection")
console.timeEnd('beforeEach expectConnection')

Check failure on line 11 in apps/laboratory/tests/canary.spec.ts

View workflow job for this annotation

GitHub Actions / code_style (lint)

Unexpected console statement
})

testConnectedMW.afterEach(async ({ browserName }, testInfo) => {
Expand All @@ -17,7 +17,7 @@ testConnectedMW.afterEach(async ({ browserName }, testInfo) => {
}

if (ENV !== 'dev') {
console.time("uploadCanaryResultsToCloudWatch")
console.time('uploadCanaryResultsToCloudWatch')

Check failure on line 20 in apps/laboratory/tests/canary.spec.ts

View workflow job for this annotation

GitHub Actions / code_style (lint)

Unexpected console statement
const duration: number = testInfo.duration
await uploadCanaryResultsToCloudWatch(
ENV,
Expand All @@ -27,33 +27,33 @@ testConnectedMW.afterEach(async ({ browserName }, testInfo) => {
testInfo.status === 'passed',
duration
)
console.timeEnd("uploadCanaryResultsToCloudWatch")
console.timeEnd('uploadCanaryResultsToCloudWatch')

Check failure on line 30 in apps/laboratory/tests/canary.spec.ts

View workflow job for this annotation

GitHub Actions / code_style (lint)

Unexpected console statement
}
})

testConnectedMW(
'it should sign',
async ({ modalPage, walletPage, modalValidator, walletValidator }) => {
console.time("modalPage.sign()")
console.time('modalPage.sign()')

Check failure on line 37 in apps/laboratory/tests/canary.spec.ts

View workflow job for this annotation

GitHub Actions / code_style (lint)

Unexpected console statement
await modalPage.sign()
console.timeEnd("modalPage.sign()")
console.time("walletValidator.expectReceivedSign")
console.timeEnd('modalPage.sign()')

Check failure on line 39 in apps/laboratory/tests/canary.spec.ts

View workflow job for this annotation

GitHub Actions / code_style (lint)

Unexpected console statement
console.time('walletValidator.expectReceivedSign')

Check failure on line 40 in apps/laboratory/tests/canary.spec.ts

View workflow job for this annotation

GitHub Actions / code_style (lint)

Unexpected console statement
await walletValidator.expectReceivedSign({})
console.timeEnd("walletValidator.expectReceivedSign")
console.time("walletPage.handleRequest")
console.timeEnd('walletValidator.expectReceivedSign')

Check failure on line 42 in apps/laboratory/tests/canary.spec.ts

View workflow job for this annotation

GitHub Actions / code_style (lint)

Unexpected console statement
console.time('walletPage.handleRequest')

Check failure on line 43 in apps/laboratory/tests/canary.spec.ts

View workflow job for this annotation

GitHub Actions / code_style (lint)

Unexpected console statement
await walletPage.handleRequest({ accept: true })
console.timeEnd("walletPage.handleRequest")
console.time("modalValidator.expectAcceptedSign")
console.timeEnd('walletPage.handleRequest')

Check failure on line 45 in apps/laboratory/tests/canary.spec.ts

View workflow job for this annotation

GitHub Actions / code_style (lint)

Unexpected console statement
console.time('modalValidator.expectAcceptedSign')
await modalValidator.expectAcceptedSign()
console.timeEnd("modalValidator.expectAcceptedSign")
console.time("modalPage.disconnect")
console.timeEnd('modalValidator.expectAcceptedSign')
console.time('modalPage.disconnect')
await modalPage.disconnect()
console.timeEnd("modalPage.disconnect")
console.time("modalValidator.expectDisconnected")
console.timeEnd('modalPage.disconnect')
console.time('modalValidator.expectDisconnected')
await modalValidator.expectDisconnected()
console.timeEnd("modalValidator.expectDisconnected")
console.time("walletValidator.expectDisconnected")
console.timeEnd('modalValidator.expectDisconnected')
console.time('walletValidator.expectDisconnected')
await walletValidator.expectDisconnected()
console.timeEnd("walletValidator.expectDisconnected")
console.timeEnd('walletValidator.expectDisconnected')
}
)

0 comments on commit 2128daa

Please sign in to comment.