diff --git a/packages/pinball_components/test/src/components/spaceship_ramp/cubit/spaceship_ramp_cubit_test.dart b/packages/pinball_components/test/src/components/spaceship_ramp/cubit/spaceship_ramp_cubit_test.dart index c9af44cf..dc22ce2e 100644 --- a/packages/pinball_components/test/src/components/spaceship_ramp/cubit/spaceship_ramp_cubit_test.dart +++ b/packages/pinball_components/test/src/components/spaceship_ramp/cubit/spaceship_ramp_cubit_test.dart @@ -70,21 +70,14 @@ void main() { group('onReset', () { blocTest( - 'emits state reset to initial values', + 'emits initial state', build: SpaceshipRampCubit.new, seed: () => SpaceshipRampState( hits: 100, lightState: ArrowLightState.active3, ), act: (bloc) => bloc.onReset(), - expect: () => [ - isA() - ..having((state) => state.hits, 'hits', 0) - ..having( - (state) => state.lightState, - 'lightState', - ArrowLightState.inactive, - ), + expect: () => [SpaceshipRampState.initial(), ], ); });