Skip to content

Commit

Permalink
Update expected error message in tests (#3057)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer authored Jul 18, 2019
1 parent a0f1a4a commit cbc00bc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ export function testApolloServer<AS extends ApolloServerBase>(
it('prohibits providing a gateway in addition to subscription options', async () => {
const { gateway } = makeGatewayMock();

const expectedError = /Cannot define both `subscriptions` and `gateway`./;
const expectedError =
'Subscriptions are not yet compatible with the gateway';

const incompatibleArgsSpy = jest.fn();
await createApolloServer({
Expand Down

0 comments on commit cbc00bc

Please sign in to comment.