import 'package:actors/actors.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mews/application/actors/fetch_actor.dart'; const page = '''
Some content.
'''; void main() { test('ParseSource parses without touching the network', () async { final actor = Actor.create(FetchHandler.new); addTearDown(actor.close); final result = await actor .send(const ParseSource(url: 'https://example.com/parsed.html', source: page)); expect(result, isAnope'));
expect(result, isA nope');
});
}