[ci] format
This commit is contained in:
parent
5a674f976d
commit
d0c0a3b984
1 changed files with 3 additions and 3 deletions
|
@ -45,9 +45,9 @@ test.describe('Style prefetch', () => {
|
|||
|
||||
await page.waitForLoadState('networkidle');
|
||||
|
||||
await expect(requests.filter(req => req.includes('/style1'))).toBeTruthy();
|
||||
await expect(requests.filter(req => req.includes('/style2'))).toBeTruthy();
|
||||
const cssRequestCount = requests.filter(req => req.includes('/main.css')).length;
|
||||
await expect(requests.filter((req) => req.includes('/style1'))).toBeTruthy();
|
||||
await expect(requests.filter((req) => req.includes('/style2'))).toBeTruthy();
|
||||
const cssRequestCount = requests.filter((req) => req.includes('/main.css')).length;
|
||||
await expect(cssRequestCount).toBe(1);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue