resetGlobalTracerProviderForTesting function

  1. @visibleForTesting
void resetGlobalTracerProviderForTesting()

Resets globalTracerProvider to the noop provider so tests can call registerGlobalTracerProvider again.

Implementation

@visibleForTesting
void resetGlobalTracerProviderForTesting() {
  _tracerProvider = _noopTracerProvider;
}