Skip to content

Commit c666b66

Browse files
author
jakubfiala
committed
comparing mock GQL and JSON schema the correct way around
1 parent 0e2480b commit c666b66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/transformSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ describe('GraphQL to JSON Schema transform', () => {
1919
});
2020

2121
it('parses a test GraphQL Schema properly', () => {
22-
expect(mockJSONSchema).toEqual(transform(mockGraphQL));
22+
expect(transform(mockGraphQL)).toEqual(mockJSONSchema);
2323
});
2424
})

0 commit comments

Comments
 (0)