Dart unit test not working with content-shell

245 views Asked by At

I have dart unit tests written using test: '>=0.12.1 <0.13.0' library. When I try to run tests using Dartium it works perfectly, but using content-shell it throws error.

pub run test test/unit -p content-shell
Failed to start content shell: Bad state: Stream has already been listened to..

I'm using ubuntu machine and content shell is in path.

1

There are 1 answers

0
ashokd On BEST ANSWER

I upgraded the dart and content-shell version to 1.11 and its working now.