Skip to content

Commit 4b63d16

Browse files
committed
Test schema instead of function
The test was run against the function instead of the schema, a simple typo omission.
1 parent a983969 commit 4b63d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilities/__tests__/extendSchema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ describe('extendSchema', () => {
100100
`);
101101
const originalPrint = printSchema(testSchema);
102102
const extendedSchema = extendSchema(testSchema, ast);
103-
expect(extendSchema).to.not.equal(testSchema);
103+
expect(extendedSchema).to.not.equal(testSchema);
104104
expect(printSchema(testSchema)).to.equal(originalPrint);
105105
expect(printSchema(extendedSchema)).to.contain('newField');
106106
expect(printSchema(testSchema)).to.not.contain('newField');

0 commit comments

Comments
 (0)