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()));
});
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