0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
Martin Trapp 2024-04-17 09:57:24 +00:00 committed by astrobot-houston
parent dc74afca9f
commit 1452cf69a4

View file

@ -1405,9 +1405,9 @@ test.describe('View Transitions', () => {
}); });
test('transition:persist persists selection', async ({ page, astro }) => { test('transition:persist persists selection', async ({ page, astro }) => {
let text = ""; let text = '';
page.on('console', (msg) => { page.on('console', (msg) => {
text=msg.text(); text = msg.text();
}); });
await page.goto(astro.resolveUrl('/persist-1')); await page.goto(astro.resolveUrl('/persist-1'));
await expect(page.locator('#one'), 'should have content').toHaveText('Persist 1'); await expect(page.locator('#one'), 'should have content').toHaveText('Persist 1');