Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 910c7a9

Browse files
committed
Adjust specs to match new graphql-js behavior
We switched from throwing to returning an error for documents with multiple operations which don't specify an operation name to execute. See: graphql/graphql-js@508aa3a2b6
1 parent 3e8f09e commit 910c7a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/http-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ describe('test harness', () => {
263263
}),
264264
);
265265

266-
expect(response.status).to.equal(400);
266+
expect(response.status).to.equal(200);
267267
expect(JSON.parse(response.text)).to.deep.equal({
268268
errors: [
269269
{

0 commit comments

Comments
 (0)