File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import 'package:dwds/src/connections/debug_connection.dart';
11
11
import 'package:dwds/src/events.dart' ;
12
12
import 'package:dwds/src/services/chrome_proxy_service.dart' ;
13
13
import 'package:dwds/src/utilities/shared.dart' ;
14
- import 'package:http_multi_server/http_multi_server.dart' ;
15
14
import 'package:test/test.dart' ;
16
15
import 'package:vm_service/vm_service.dart' ;
17
16
import 'package:webdriver/async_core.dart' ;
@@ -33,7 +32,7 @@ void main() {
33
32
34
33
setUp (() async {
35
34
setCurrentLogWriter ();
36
- server = await HttpMultiServer . bind ('localhost' , 0 );
35
+ server = await startHttpServer ('localhost' , port : 0 );
37
36
});
38
37
39
38
tearDown (() async {
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import 'package:dds/devtools_server.dart';
11
11
import 'package:dwds/data/build_result.dart' ;
12
12
import 'package:dwds/dwds.dart' ;
13
13
import 'package:dwds/src/utilities/shared.dart' ;
14
- import 'package:http_multi_server/http_multi_server.dart' ;
15
14
import 'package:logging/logging.dart' ;
16
15
import 'package:shelf/shelf.dart' ;
17
16
import 'package:webkit_inspection_protocol/webkit_inspection_protocol.dart' ;
@@ -123,7 +122,7 @@ class TestServer {
123
122
}
124
123
: null );
125
124
126
- var server = await HttpMultiServer . bind ('localhost' , port);
125
+ var server = await startHttpServer ('localhost' , port : port);
127
126
var cascade = Cascade ();
128
127
129
128
cascade = cascade.add (dwds.handler).add (assetHandler);
You can’t perform that action at this time.
0 commit comments