Skip to content

Commit 4636d43

Browse files
royduinactions-user
authored andcommitted
Apply fixes from Prettier
1 parent 9a965c8 commit 4636d43

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/playwright/pages/BasePage.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { expect } from '@playwright/test'
22
import AxeBuilder from '@axe-core/playwright'
33
import { playAudit } from 'playwright-lighthouse'
44
import playwright from 'playwright'
5-
import lighthouseMobileConfig from 'lighthouse/core/config/lr-mobile-config.js';
5+
import lighthouseMobileConfig from 'lighthouse/core/config/lr-mobile-config.js'
66

77
export class BasePage {
88
constructor(page) {
@@ -60,8 +60,8 @@ export class BasePage {
6060
async lighthouse(url) {
6161
const browser = await playwright['chromium'].launch({
6262
args: ['--remote-debugging-port=9222'],
63-
});
64-
const page = await browser.newPage();
63+
})
64+
const page = await browser.newPage()
6565

6666
await page.goto(url)
6767

@@ -77,7 +77,7 @@ export class BasePage {
7777
reports: {
7878
formats: {
7979
html: true,
80-
}
80+
},
8181
},
8282
config: {
8383
...lighthouseMobileConfig,
@@ -93,10 +93,10 @@ export class BasePage {
9393
'uses-optimized-images',
9494
'cache-insight',
9595
'image-delivery-insight',
96-
]
97-
}
96+
],
97+
},
9898
},
99-
});
99+
})
100100

101101
await browser.close()
102102
}

0 commit comments

Comments
 (0)