Skip to content

Commit

Permalink
test(flutter): fix init hive
Browse files Browse the repository at this point in the history
  • Loading branch information
micimize committed Mar 6, 2021
1 parent 2ee6e29 commit 474ab44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/graphql_flutter/test/widgets/query_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ class PageState extends State<Page> {
void main() {
setUpAll(() async {
await mockApplicationDocumentsDirectory();
await initHiveForFlutter();
});

group('Query', () {
Expand All @@ -107,8 +108,6 @@ void main() {
ValueNotifier<GraphQLClient> client;

setUp(() async {
await initHiveForFlutter();

mockHttpClient = MockHttpClient();
httpLink = HttpLink(
'https://unused/graphql',
Expand Down

0 comments on commit 474ab44

Please sign in to comment.