Commit b3dc2bd
committed
fix(test): reset Sentry SDK state after enabled-path tests
The 'with telemetry enabled' tests call initSentry(true) which sets global
SDK state. Without cleanup, Sentry.isEnabled() returns true for all subsequent
test files, breaking feedbackCommand's telemetry-disabled assertion.1 parent 9b79419 commit b3dc2bd
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
147 | 154 | | |
148 | 155 | | |
149 | 156 | | |
| |||
0 commit comments