We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ec13f commit f5758a2Copy full SHA for f5758a2
dwds/test/common/chrome_proxy_service_common.dart
@@ -739,10 +739,7 @@ void runTests({
739
for (final scriptRef in scripts.scripts!) {
740
final script =
741
await service.getObject(isolate.id!, scriptRef.id!) as Script;
742
- var serverPath = DartUri(script.uri!, 'hello_world/').serverPath;
743
- if (serverPath.startsWith('hello_world/packages/')) {
744
- serverPath = serverPath.replaceFirst('hello_world/', '');
745
- }
+ final serverPath = DartUri(script.uri!, '').serverPath;
746
final result = await http
747
.get(Uri.parse('http://localhost:${context.port}/$serverPath'));
748
// TODO: Figure out if we can encode the sript as utf8 and avoid this
0 commit comments