test: coverage

pull/296/head
RuiAlonso 3 years ago
parent 7e0bb42e67
commit fc9e2e88d2

@ -269,9 +269,7 @@ void main() {
group('adds', () { group('adds', () {
flameTester.test('new children', (game) async { flameTester.test('new children', (game) async {
final component = Component(); final component = Component();
final ramp = SpaceshipRamp.test( final ramp = SpaceshipRamp();
bloc: _MockSpaceshipRampCubit(),
);
await ramp.addAll([component]); await ramp.addAll([component]);
await game.ensureAdd(ramp); await game.ensureAdd(ramp);
expect(ramp.children, contains(component)); expect(ramp.children, contains(component));

Loading…
Cancel
Save