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(instrumentation-browser-navigation): use 'declare' to avoid JS class field initialization surprise (open-telemetry#3326)
Before this change these class fields were being set to undefined after the
super() call, which blows away values set in the .enable() called by the
super constructor.
This also reverts the following change that was attempting to work around test failures:
"fix(instrumentation-browser-navigation): improve test stability with … (open-telemetry#3323)"
This also adds a guard on .enable() being called multiple times because it
isn't idempotent.
Fixes: open-telemetry#3310
0 commit comments