Skip to content

Commit 7b8612c

Browse files
committed
fix(e2e): Use fixed port 8969 for Spotlight to match DSN
The app's DSN is hardcoded to http://spotlight@localhost:8969/0 so Spotlight must use the same port to receive events.
1 parent 1614dbb commit 7b8612c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dev-packages/e2e-tests/test-applications/react-router-7-lazy-routes/tests/timeout-behaviour.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ let spotlight: Awaited<ReturnType<typeof startSpotlight>>;
77
test.beforeAll(async () => {
88
spotlight = await startSpotlight({
99
cwd: path.resolve(__dirname, '..'),
10+
port: 8969, // Must match DSN in src/index.tsx
1011
debug: !!process.env.DEBUG,
1112
});
1213
});

dev-packages/e2e-tests/test-applications/react-router-7-lazy-routes/tests/transactions.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ let spotlight: Awaited<ReturnType<typeof startSpotlight>>;
77
test.beforeAll(async () => {
88
spotlight = await startSpotlight({
99
cwd: path.resolve(__dirname, '..'),
10+
port: 8969, // Must match DSN in src/index.tsx
1011
debug: !!process.env.DEBUG,
1112
});
1213
});

0 commit comments

Comments
 (0)