Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,4 @@ else
echo "Port $TEMP_PORT released successfully"
fi

echo "Starting nuxt dev with Sentry server config..."

# 4. Start the actual dev command which should be used for the tests
NODE_OPTIONS='--import ./.nuxt/dev/sentry.server.config.mjs' nuxt dev
echo "Nuxt dev server can now be started with '--import ./.nuxt/dev/sentry.server.config.mjs'"
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"clean": "npx nuxi cleanup",
"test": "playwright test",
"test:prod": "TEST_ENV=production playwright test",
"test:dev": "TEST_ENV=development playwright test environment",
"test:dev": "bash ./nuxt-start-dev-server.bash && TEST_ENV=development playwright test environment",
"test:build": "pnpm install && pnpm build",
"test:build-canary": "pnpm add nuxt@npm:nuxt-nightly@latest && pnpm add nitropack@npm:nitropack-nightly@latest && pnpm install --force && pnpm build",
"test:assert": "pnpm test:prod && pnpm test:dev"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (!testEnv) {

const getStartCommand = () => {
if (testEnv === 'development') {
return 'bash ./nuxt-start-dev-server.bash';
return "NODE_OPTIONS='--import ./.nuxt/dev/sentry.server.config.mjs' nuxt dev -p 3030";
}

if (testEnv === 'production') {
Expand Down
Loading