diff --git a/packages/flutter_tools/test/src/context.dart b/packages/flutter_tools/test/src/context.dart index f0f4fd0f7d..4fc36d2ce0 100644 --- a/packages/flutter_tools/test/src/context.dart +++ b/packages/flutter_tools/test/src/context.dart @@ -382,9 +382,8 @@ class NoopCrashReporter implements CrashReporter { } class LocalFileSystemBlockingSetCurrentDirectory extends LocalFileSystem { - LocalFileSystemBlockingSetCurrentDirectory() : super.test( - signals: LocalSignals.instance, - ); + // Use [FakeSignals] so developers running the test suite can kill the test runner. + LocalFileSystemBlockingSetCurrentDirectory() : super.test(signals: FakeSignals()); @override set currentDirectory(dynamic value) {