You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): save/restore SENTRY_CONFIG_DIR in all test files
Extend the save/restore pattern to every test file that modifies
process.env.SENTRY_CONFIG_DIR. Also move module-scope env var
captures into beforeEach hooks so they read the value at hook time
rather than at module evaluation time.
Files fixed:
- test/lib/api-client.test.ts
- test/lib/api-client.seer.test.ts
- test/lib/api-client.multiregion.test.ts
- test/commands/issue/utils.test.ts
- test/lib/dsn/cache.test.ts
- test/lib/dsn/detector.test.ts
- test/lib/config.test.ts (module-scope -> beforeEach)
- test/lib/region.test.ts (module-scope -> beforeEach)
- test/lib/db/concurrent.test.ts (module-scope -> beforeEach)
0 commit comments