test: remove grouping

pull/11/head
Allison Ryan 4 years ago
parent 5a44f0abf3
commit 8f3fc4b248

@ -9,15 +9,13 @@ void main() {
expect(themeCubit.state.theme, equals(const DashTheme())); expect(themeCubit.state.theme, equals(const DashTheme()));
}); });
group('themeSelected', () { blocTest<ThemeCubit, ThemeState>(
blocTest<ThemeCubit, ThemeState>( 'themeSelected emits selected theme',
'emits selected theme', build: ThemeCubit.new,
build: ThemeCubit.new, act: (bloc) => bloc.themeSelected(const SparkyTheme()),
act: (bloc) => bloc.themeSelected(const SparkyTheme()), expect: () => [
expect: () => [ const ThemeState(SparkyTheme()),
const ThemeState(SparkyTheme()), ],
], );
);
});
}); });
} }

Loading…
Cancel
Save