Ignore a null runner suite in json reporter (#1273)

The `StateError` had been put in with #1245 in order to facilitate
debugging this problem when it surfaces sometimes for flutter.

In #1258 Jake pointed out that there is a comment which mentions that
the `runnerSuite` may be null if it is unavailable due to a load error.

I'm still not sure exactly the conditions that lead to this behavior,
but it should ideally come with some other more clear error, so ignoring
it here should hopefully make things less confusing.
5 files changed
tree: 6d07b16ed07b3cb73bd20e359c2689e9636ac888
  1. pkgs/
  2. tool/
  3. .gitignore
  4. .travis.yml
  5. analysis_options.yaml
  6. CONTRIBUTING.md
  7. mono_repo.yaml
  8. README.md
README.md

Test Mono Repository

This repository contains packages for writing and running Dart tests.

test

A full featured packaged for writing and running Dart tests on various platforms, e.g. VM, Chrome, Node etc.

test_api

A minimal package for writing tests. This package is used by package:test and package:test_core.

test_core

A minimal package for writing and running tests. It also contains extensions for implementing a custom test runner. This package is used by package:test.