Skip to content

Commit f381ccc

Browse files
committed
fix conflict
1 parent 7dd6237 commit f381ccc

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/utilities/__tests__/buildASTSchema-test.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -799,30 +799,6 @@ describe('Schema Builder', () => {
799799
`);
800800

801801
expect(printAllASTNodes(someScalar)).to.equal(scalarSDL);
802-
expect(rootFields.field2.isDeprecated).to.equal(true);
803-
expect(rootFields.field2.deprecationReason).to.equal('Because I said so');
804-
805-
const field3OldArg = rootFields.field3.args[0];
806-
expect(field3OldArg.isDeprecated).to.equal(true);
807-
expect(field3OldArg.deprecationReason).to.equal('No longer supported');
808-
809-
const field4OldArg = rootFields.field4.args[0];
810-
expect(field4OldArg.isDeprecated).to.equal(true);
811-
expect(field4OldArg.deprecationReason).to.equal('why not?');
812-
813-
const myInput = schema.getType('MyInput');
814-
const inputFields = myInput.getFields();
815-
816-
const newInput = inputFields.newInput;
817-
expect(newInput.isDeprecated).to.equal(false);
818-
819-
const oldInput = inputFields.oldInput;
820-
expect(oldInput.isDeprecated).to.equal(true);
821-
expect(oldInput.deprecationReason).to.equal('No longer supported');
822-
823-
const otherInput = inputFields.otherInput;
824-
expect(otherInput.isDeprecated).to.equal(true);
825-
expect(otherInput.deprecationReason).to.equal('Use newInput');
826802
});
827803

828804
it('Correctly extend object type', () => {

0 commit comments

Comments
 (0)