anchor.diff:            baseDirectory: fakeDirectory,
           );
           expect(comparator.runtimeType, FlutterSkippingFileComparator);
  +        // reset property or it will carry on to other tests
  +        fakeSkiaClient.getExpectationForTestThrowable = null;
         });
       });
     });
  
positive.code:         );
        });
  
        test('compare properly awaits validation & output before failing.', () async {
          final Completer<bool> completer = Completer<bool>();
          final Future<bool> result = comparator.compare(
            Uint8List.fromList(_kFailPngBytes),
            Uri.parse('flutter.golden_test.1.png'),
          );
          bool shouldThrow = true;
          result.then((_) {
            if (shouldThrow)
              fail('Compare completed before validation completed!');
          });
          await Future<void>.value();
          shouldThrow = false;
          completer.complete(Future<bool>.value(false));
        });
  
        test('returns FlutterSkippingGoldenFileComparator when network connection is unavailable', () async {
          final FakeDirectory fakeDirectory = FakeDirectory();
          fakeDirectory.existsSyncValue = true;
  
negative.code: // Copyright 2014 The Flutter Authors. All rights reserved.
  // Use of this source code is governed by a BSD-style license that can be
  // found in the LICENSE file.
  
  // See also dev/automated_tests/flutter_test/flutter_gold_test.dart
  
  