anchor.diff:      List<File> weak = [];
       List<File> strong = [];
       for (File file in testFiles) {
  -      if (await _getNNBDMode(file.uri, dotPackage.uri) == NnbdMode.Weak) {
  +      if (await _getNNBDMode(file.uri, packageConfig.uri) == NnbdMode.Weak) {
           weak.add(file);
         } else {
           strong.add(file);
  
positive.code:           systemTempDir,
            chunk,
            flutterPlatformDirectory,
            queueEntry.dotPackage,
            queueEntry.testDir,
            flutterDirectory,
            logger,
  
negative.code:   await compileTests(flutterDir, flutterPlatformDir, new StdoutLogger());
  }
  
  Future<NnbdMode> _getNNBDMode(Uri script, Uri packageConfigUri) async {
    final CompilerOptions compilerOptions = new CompilerOptions()
      ..sdkRoot = null
      ..fileSystem = StandardFileSystem.instance
      ..packagesFileUri = packageConfigUri
      ..sdkSummary = null
      ..nnbdMode = NnbdMode.Weak;
  
  