Commit a23d53a
committed
fix(e2e): explicitly pass spotlight env var to init in production builds
In production builds, the automatic Spotlight enablement from env vars
is stripped (by design). The test now explicitly reads VITE_SENTRY_SPOTLIGHT
and passes it to Sentry.init({ spotlight: ... }) which is the recommended
approach for production builds.1 parent 9f1e28f commit a23d53a
File tree
1 file changed
+8
-0
lines changed- dev-packages/e2e-tests/test-applications/browser-webworker-vite/src
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| 14 | + | |
| 15 | + | |
8 | 16 | | |
9 | 17 | | |
10 | 18 | | |
| |||
0 commit comments