File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { expect } from '@playwright/test'
2
2
import AxeBuilder from '@axe-core/playwright'
3
3
import { playAudit } from 'playwright-lighthouse'
4
4
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'
6
6
7
7
export class BasePage {
8
8
constructor ( page ) {
@@ -60,8 +60,8 @@ export class BasePage {
60
60
async lighthouse ( url ) {
61
61
const browser = await playwright [ 'chromium' ] . launch ( {
62
62
args : [ '--remote-debugging-port=9222' ] ,
63
- } ) ;
64
- const page = await browser . newPage ( ) ;
63
+ } )
64
+ const page = await browser . newPage ( )
65
65
66
66
await page . goto ( url )
67
67
@@ -77,7 +77,7 @@ export class BasePage {
77
77
reports : {
78
78
formats : {
79
79
html : true ,
80
- }
80
+ } ,
81
81
} ,
82
82
config : {
83
83
...lighthouseMobileConfig ,
@@ -93,10 +93,10 @@ export class BasePage {
93
93
'uses-optimized-images' ,
94
94
'cache-insight' ,
95
95
'image-delivery-insight' ,
96
- ]
97
- }
96
+ ] ,
97
+ } ,
98
98
} ,
99
- } ) ;
99
+ } )
100
100
101
101
await browser . close ( )
102
102
}
You can’t perform that action at this time.
0 commit comments