• Todd Volkert's avatar
    Make tests more hermetic. (#8765) · 1b4f817b
    Todd Volkert authored
    1. Add `PortScanner` abstraction so that we don't do actual port scanning
       in tests.
    2. Don't change the real `cwd` of the isolate during tests, as it affects
       all tests, not just the current running test.
    
    Fixes #8761
    1b4f817b
analyze_test.dart 1.5 KB