test: remove grouping

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

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

Loading…
Cancel
Save