Remove observatory related TODO that is already fixed. (#158205)

Description intentionally left blank :)
This commit is contained in:
Matan Lurey
2024-11-05 15:43:50 -08:00
committed by GitHub
parent b46fb32f48
commit 0b6f99769d

View File

@@ -204,12 +204,7 @@ void main() {
testWithoutContext('enables Observatory on attach', () async {
await flutterRun.run(withDebugger: true);
// Bail out if Observatory is still served by default in the VM.
// TODO(bkonyi): replace this with the following once Observatory is disabled in the VM:
// expect(await isObservatoryAvailable(), isFalse);
if (await isObservatoryAvailable()) {
return;
}
expect(await isObservatoryAvailable(), false);
await flutterAttach.attach(
flutterRun.vmServicePort!,
serveObservatory: true,