Dart 单元测试不适用于内容-shell

Dart unit test not working with content-shell

我使用 test: '>=0.12.1 <0.13.0' 库编写了 dart 单元测试。当我尝试使用 Dartium 进行 运行 测试时,它运行良好,但使用 content-shell 时会抛出错误。

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

我正在使用 ubuntu 机器,内容 shell 在路径中。

我将 dart 和 content-shell 版本升级到 1.11,现在可以使用了。