mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Run resident_runner_test in Dart 2 mode (#21288)
This commit is contained in:
parent
1593b98166
commit
a6af2ca643
@ -44,14 +44,12 @@ class TestRunner extends ResidentRunner {
|
||||
|
||||
void main() {
|
||||
TestRunner createTestRunner() {
|
||||
// TODO(jacobr): make these tests run with `previewDart2: true` and
|
||||
// `trackWidgetCreation: true` as well as the default flags.
|
||||
// Currently the TestRunner is not properly configured to be able to run
|
||||
// with `previewDart2: true` due to missing resources.
|
||||
// TODO(jacobr): make these tests run with `trackWidgetCreation: true` as
|
||||
// well as the default flags.
|
||||
return new TestRunner(
|
||||
<FlutterDevice>[new FlutterDevice(
|
||||
new MockDevice(),
|
||||
previewDart2: false,
|
||||
previewDart2: true,
|
||||
trackWidgetCreation: false,
|
||||
)],
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user