expectNoRenderErrors method

void expectNoRenderErrors()

Implementation

void expectNoRenderErrors() {
  return RunnerBenchmark.sync('assertion', 'expectNoRenderErrors', () {
    if (_ensembleContext.runtime.flutterErrors.isNotEmpty) {
      throw EnsembleTestFailure(
        'Expected no render errors, got: ${_ensembleContext.runtime.flutterErrors}',
      );
    }
  });
}