diff options
-rw-r--r-- | packages/astro/e2e/view-transitions.test.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/astro/e2e/view-transitions.test.js b/packages/astro/e2e/view-transitions.test.js index 73546ba4e..592391fc6 100644 --- a/packages/astro/e2e/view-transitions.test.js +++ b/packages/astro/e2e/view-transitions.test.js @@ -1624,7 +1624,7 @@ test.describe('View Transitions', () => { let consoleErrors = []; page.on('console', (msg) => { const txt = msg.text(); - txt.startsWith("[test] ") && consoleErrors.push(txt.substring(7)); + txt.startsWith('[test] ') && consoleErrors.push(txt.substring(7)); }); await page.goto(astro.resolveUrl('/partial-swap')); await page.waitForURL('**/partial-swap'); @@ -1632,6 +1632,8 @@ test.describe('View Transitions', () => { await page.waitForURL('**/partial-swap?v=2'); await page.click('#link3'); await page.waitForURL('**/partial-swap?v=3'); - expect(consoleErrors.join(", "), 'There should only be two executions').toEqual("head script, body script"); + expect(consoleErrors.join(', '), 'There should only be two executions').toEqual( + 'head script, body script', + ); }); }); |