|
|
@ -5,7 +5,7 @@ import 'package:pinball/start_game/bloc/start_game_bloc.dart';
|
|
|
|
void main() {
|
|
|
|
void main() {
|
|
|
|
group('StartGameBloc', () {
|
|
|
|
group('StartGameBloc', () {
|
|
|
|
blocTest<StartGameBloc, StartGameState>(
|
|
|
|
blocTest<StartGameBloc, StartGameState>(
|
|
|
|
'on PlayTapped changes status to selectCharacter and restarted false',
|
|
|
|
'on PlayTapped changes status to selectCharacter',
|
|
|
|
build: StartGameBloc.new,
|
|
|
|
build: StartGameBloc.new,
|
|
|
|
act: (bloc) => bloc.add(const PlayTapped()),
|
|
|
|
act: (bloc) => bloc.add(const PlayTapped()),
|
|
|
|
expect: () => [
|
|
|
|
expect: () => [
|
|
|
|