chore: test fixed, names changed

pull/359/head
RuiAlonso 3 years ago
parent 84dbb5da1d
commit 0a2045f218

@ -252,7 +252,7 @@ void main() {
);
flameTester.test(
'adds ScoreShareRequested when share is tapped on InfoDisplay',
'adds ShareScoreRequested event when sharing on GameOverInfoDisplay',
(game) async {
final state = InitialsSuccessState(
score: 100,

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

Loading…
Cancel
Save