Skip to content

Commit 78affb6

Browse files
committed
add --import in nuxt-4 test app
1 parent 158b61b commit 78affb6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dev-packages/e2e-tests/test-applications/nuxt-4/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"generate": "nuxt generate",
99
"preview": "nuxt preview",
1010
"start": "node .output/server/index.mjs",
11+
"start:import": "node --import ./.output/server/sentry.server.config.mjs .output/server/index.mjs",
1112
"clean": "npx nuxi cleanup",
1213
"test": "playwright test",
1314
"test:build": "pnpm install && npx playwright install && pnpm build",

dev-packages/e2e-tests/test-applications/nuxt-4/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const nuxtConfigOptions: ConfigOptions = {
1212
* Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
1313

1414
const config = getPlaywrightConfig({
15-
startCommand: `pnpm start`,
15+
startCommand: `pnpm start:import`,
1616
use: { ...nuxtConfigOptions },
1717
});
1818

0 commit comments

Comments
 (0)