diff options
Diffstat (limited to '')
-rw-r--r-- | packages/astro/e2e/nested-in-solid.test.js | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/packages/astro/e2e/nested-in-solid.test.js b/packages/astro/e2e/nested-in-solid.test.js index 791c36615..8ae71d359 100644 --- a/packages/astro/e2e/nested-in-solid.test.js +++ b/packages/astro/e2e/nested-in-solid.test.js @@ -1,12 +1,7 @@ -import { test as base, expect } from '@playwright/test'; -import { loadFixture } from './test-utils.js'; - -const test = base.extend({ - astro: async ({}, use) => { - const fixture = await loadFixture({ root: './fixtures/nested-in-solid/' }); - await use(fixture); - }, -}); +import { expect } from '@playwright/test'; +import { testFactory } from './test-utils.js'; + +const test = testFactory({ root: './fixtures/nested-in-solid/' }); let devServer; |