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:
Johannes Spohr 2024-09-17 14:12:42 +00:00 committed by astrobot-houston
parent a582cb6124
commit 00ea675409

View file

@ -543,8 +543,8 @@ test.describe('View Transitions', () => {
const pageTitle = page.locator('.page'); const pageTitle = page.locator('.page');
await expect(pageTitle).toHaveText('Island 2'); await expect(pageTitle).toHaveText('Island 2');
}); });
test('Solid Islands can persist using transition:persist', async ({ page, astro }) => { test('Solid Islands can persist using transition:persist', async ({ page, astro }) => {
// Go to page 1 // Go to page 1
await page.goto(astro.resolveUrl('/island-solid-one')); await page.goto(astro.resolveUrl('/island-solid-one'));
let cnt = page.locator('.counter pre'); let cnt = page.locator('.counter pre');
@ -569,7 +569,7 @@ test.describe('View Transitions', () => {
await expect(cnt).toHaveText('A1'); await expect(cnt).toHaveText('A1');
}); });
test('Svelte Islands can persist using transition:persist', async ({ page, astro }) => { test('Svelte Islands can persist using transition:persist', async ({ page, astro }) => {
// Go to page 1 // Go to page 1
await page.goto(astro.resolveUrl('/island-svelte-one')); await page.goto(astro.resolveUrl('/island-svelte-one'));
let cnt = page.locator('.counter pre'); let cnt = page.locator('.counter pre');
@ -586,7 +586,7 @@ test.describe('View Transitions', () => {
// Count should remain, but the prefix should be updated // Count should remain, but the prefix should be updated
await expect(cnt).toHaveText('B1'); await expect(cnt).toHaveText('B1');
}); });
test('Vue Islands can persist using transition:persist', async ({ page, astro }) => { test('Vue Islands can persist using transition:persist', async ({ page, astro }) => {
// Go to page 1 // Go to page 1
await page.goto(astro.resolveUrl('/island-vue-one')); await page.goto(astro.resolveUrl('/island-vue-one'));