Skip to content

Commit 5189af2

Browse files
committed
Tweak test to work for web
1 parent f8feee2 commit 5189af2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/test/flutter_debug/debug/flutter_run.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ describe(`flutter run debugger (launch on ${flutterTestDeviceId})`, () => {
180180
// Wait for Platform extension before trying to call it.
181181
await waitForResult(() => extApi.debugCommands.vmServices.serviceExtensionIsLoaded(VmServiceExtension.PlatformOverride));
182182

183-
await ensureServiceExtensionValue(VmServiceExtension.PlatformOverride, "android", dc);
183+
// TODO: This currently assumes we only support these two platforms, but that's no longer true.
184+
// https://github.com/Dart-Code/Dart-Code/issues/3487
185+
// await ensureServiceExtensionValue(VmServiceExtension.PlatformOverride, "android", dc);
184186
await vs.commands.executeCommand("flutter.togglePlatform");
185187
await ensureServiceExtensionValue(VmServiceExtension.PlatformOverride, "iOS", dc);
186188
await vs.commands.executeCommand("flutter.togglePlatform");

0 commit comments

Comments
 (0)