resetForTest static method

void resetForTest()

Forgets the configuration, for tests.

Implementation

static void resetForTest() {
  final _Runtime? runtime = _runtime;
  if (runtime != null) runtime.log.onPublished = null;
  _runtime = null;
  DVCapture.unconfigure();
}