Use a fake stopwatch to remove flakiness. (#133229)

Fixes https://github.com/flutter/flutter/issues/133215
This commit is contained in:
Ian Hickson
2023-08-29 12:49:33 -07:00
committed by GitHub
parent bfbfce4903
commit 89310edaa2

View File

@@ -1295,6 +1295,7 @@ void main() {
isCliAnimationEnabled: false,
),
stdio: fakeStdio,
stopwatchFactory: FakeStopwatchFactory(stopwatch: FakeStopwatch()),
outputPreferences: OutputPreferences.test(wrapText: true, wrapColumn: 40),
);
logger.startProgress('po').stop();