test: remove grouping

pull/15/head
Allison Ryan 4 years ago committed by alestiago
parent ac70478c8c
commit 931a87b57b

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

Loading…
Cancel
Save