Skip to content

Commit 43b4301

Browse files
committed
Revert "test(e2e/astro): Run orchestrion e2e in dev mode too"
This reverts commit f0e65b4.
1 parent f0e65b4 commit 43b4301

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

dev-packages/e2e-tests/test-applications/astro-7-orchestrion/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
"astro": "astro",
1010
"start": "node ./dist/server/entry.mjs",
1111
"test:build": "pnpm install && pnpm build",
12-
"test:prod": "TEST_ENV=production playwright test",
13-
"test:dev": "TEST_ENV=development playwright test",
14-
"test:assert": "pnpm test:prod && pnpm test:dev"
12+
"test:assert": "TEST_ENV=production playwright test"
1513
},
1614
"//": "Need to use ioredis 5.10.1 because that's the last version before they support tracing channels",
1715
"dependencies": {

dev-packages/e2e-tests/test-applications/astro-7-orchestrion/playwright.config.mjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
import { getPlaywrightConfig } from '@sentry-internal/test-utils';
22

3-
const testEnv = process.env.TEST_ENV;
4-
5-
if (!testEnv) {
6-
throw new Error('No test env defined');
7-
}
8-
93
const config = getPlaywrightConfig({
10-
startCommand: testEnv === 'development' ? 'pnpm dev --port 3030' : 'pnpm start',
4+
startCommand: 'pnpm start',
115
});
126

137
export default {

0 commit comments

Comments
 (0)