Skip to content

Commit 3e0e6e5

Browse files
committed
chore: formatting
1 parent a26470c commit 3e0e6e5

2 files changed

Lines changed: 17 additions & 7 deletions

File tree

test/helpers/profile.ts

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,15 @@ export async function verifyAddContactRoute(
194194
) {
195195
await browser.waitUntil(
196196
async () =>
197-
(await elementById('AddContactRetrievingTitle').isDisplayed().catch(() => false)) ||
198-
(await elementById('AddContactSave').isDisplayed().catch(() => false)) ||
199-
(await elementById('AddContactPay').isDisplayed().catch(() => false)),
197+
(await elementById('AddContactRetrievingTitle')
198+
.isDisplayed()
199+
.catch(() => false)) ||
200+
(await elementById('AddContactSave')
201+
.isDisplayed()
202+
.catch(() => false)) ||
203+
(await elementById('AddContactPay')
204+
.isDisplayed()
205+
.catch(() => false)),
200206
{
201207
timeoutMsg: `expected add contact route for ${publicKey}`,
202208
}
@@ -207,9 +213,11 @@ export async function verifyAddContactRoute(
207213
}
208214

209215
await elementById('AddContactSave').waitForDisplayed();
210-
await expect(await elementById('AddContactPay').isDisplayed().catch(() => false)).toBe(
211-
ableToPay
212-
);
216+
await expect(
217+
await elementById('AddContactPay')
218+
.isDisplayed()
219+
.catch(() => false)
220+
).toBe(ableToPay);
213221
}
214222

215223
export async function discardAddContactRoute() {

test/specs/pubky-profile.e2e.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ describe('@pubky @pubky_profile - Pubky profile', () => {
193193
await discardAddContactRoute();
194194

195195
// route unsaved pubky from QR scanner prompt
196-
await enterAddressViaScanPrompt(firstStagingContact.pubky, { acceptCameraPermission: false });
196+
await enterAddressViaScanPrompt(firstStagingContact.pubky, {
197+
acceptCameraPermission: false,
198+
});
197199
await verifyAddContactRoute(firstStagingContact.pubky, {
198200
ableToPay: firstStagingContact.ableToPay,
199201
});

0 commit comments

Comments
 (0)