File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,19 @@ class DwdsInjector {
43
43
44
44
Middleware get middleware => (innerHandler) {
45
45
return (Request request) async {
46
+ _logger.shout ('BRUH2 start' );
47
+ _logger.shout (request.requestedUri.path);
48
+ _logger.shout ('BRUH2 end' );
46
49
if (request.url.path.endsWith ('$_clientScript .js' )) {
47
50
final uri = await Isolate .resolvePackageUri (
48
51
Uri .parse ('package:$_clientScript .js' ),
49
52
);
50
53
if (uri == null ) {
51
54
throw StateError ('Cannot resolve "package:$_clientScript .js"' );
52
55
}
56
+ _logger.shout ('BRUH3' );
53
57
final result = await File (uri.toFilePath ()).readAsString ();
58
+ _logger.shout ('BRUH4' );
54
59
return Response .ok (
55
60
result,
56
61
headers: {
Original file line number Diff line number Diff line change @@ -440,7 +440,11 @@ class TestContext {
440
440
: 'http://localhost:$port /$basePath /$filePathToServe ' ;
441
441
442
442
if (testSettings.launchChrome) {
443
+ _logger.shout ('BRUH1 start' );
444
+ _logger.shout (appUrl);
445
+ _logger.shout ('BRUH1 end' );
443
446
await _webDriver? .get (appUrl);
447
+ _logger.shout ('BRUH5' );
444
448
final tab = await connection.getTab ((t) => t.url == appUrl);
445
449
if (tab != null ) {
446
450
_tabConnection = await tab.connect ();
You can’t perform that action at this time.
0 commit comments