platform/packages/graphql/graphql_server/test/common.dart

6 lines
207 B
Dart
Raw Normal View History

import 'package:graphql_schema/graphql_schema.dart';
import 'package:test/test.dart';
final Matcher throwsAGraphQLException =
throwsA(predicate((x) => x is GraphQLException, 'is a GraphQL exception'));