File tree Expand file tree Collapse file tree 7 files changed +10
-4
lines changed
dev-packages/e2e-tests/test-applications Expand file tree Collapse file tree 7 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ export default defineNuxtConfig({
1919 } ,
2020 sentry : {
2121 autoInjectServerSentry : 'top-level-import' ,
22- }
22+ } ,
2323} ) ;
Original file line number Diff line number Diff line change 2121 "@nuxt/test-utils" : " ^3.14.1" ,
2222 "@playwright/test" : " ^1.44.1" ,
2323 "@sentry-internal/test-utils" : " link:../../../test-utils"
24+ },
25+ "overrides" : {
26+ "nitropack" : " ~2.9.7" ,
27+ "ofetch" : " ^1.4.0"
2428 }
2529}
Original file line number Diff line number Diff line change 99 "generate" : " nuxt generate" ,
1010 "preview" : " nuxt preview" ,
1111 "start" : " node .output/server/index.mjs" ,
12+ "start:import" : " node --import ./.output/server/sentry.server.config.mjs .output/server/index.mjs" ,
1213 "clean" : " npx nuxi cleanup" ,
1314 "test" : " playwright test" ,
1415 "test:build" : " pnpm install && npx playwright install && pnpm build" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const nuxtConfigOptions: ConfigOptions = {
1212 * Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
1313
1414const config = getPlaywrightConfig ( {
15- startCommand : `pnpm start` ,
15+ startCommand : `pnpm start:import ` ,
1616 use : { ...nuxtConfigOptions } ,
1717} ) ;
1818
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ export default defineNuxtConfig({
1919 } ,
2020 sentry : {
2121 autoInjectServerSentry : 'experimental_dynamic-import' ,
22- }
22+ } ,
2323} ) ;
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const nuxtConfigOptions: ConfigOptions = {
1212 * Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
1313
1414const config = getPlaywrightConfig ( {
15- startCommand : `pnpm start` ,
15+ startCommand : `pnpm start:import ` ,
1616 use : { ...nuxtConfigOptions } ,
1717} ) ;
1818
You can’t perform that action at this time.
0 commit comments