postTest method

void postTest ()

Called by the testWidgets function after a test is executed.

Implementation

void postTest() {
  assert(inTest);
  FlutterError.onError = _oldExceptionHandler;
  _pendingExceptionDetails = null;
  _parentZone = null;
}