test: coverage

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

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

Loading…
Cancel
Save