Skip to content

Commit

Permalink
clean console
Browse files Browse the repository at this point in the history
  • Loading branch information
TuvalSimha committed Nov 19, 2023
1 parent a39579d commit 88a0c0d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/core/__tests__/diff/directive-usage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,7 @@ describe('directive-usage', () => {
`);

const changes = await diff(a, b);
console.log('changes', changes);
const change = findFirstChangeByPath(changes, 'a.external');
console.log('change', change);

expect(changes.length).toEqual(1);
expect(change.criticality.level).toEqual(CriticalityLevel.NonBreaking);
Expand All @@ -356,9 +354,7 @@ describe('directive-usage', () => {
`);

const changes = await diff(a, b);
console.log('changes', changes);
const change = findFirstChangeByPath(changes, 'a.external');
console.log('change', change);

expect(changes.length).toEqual(1);
expect(change.criticality.level).toEqual(CriticalityLevel.Breaking);
Expand All @@ -367,7 +363,7 @@ describe('directive-usage', () => {
});
});

describe('scalar-field-level directives', () => {
describe('scalar-level directives', () => {
test('added directive', async () => {
const a = buildSchema(/* GraphQL */ `
directive @external on SCALAR
Expand Down Expand Up @@ -444,7 +440,6 @@ describe('directive-usage', () => {
`);

const changes = await diff(a, b);
console.log('changes', changes);
const change = findFirstChangeByPath(changes, 'Foo.external');

expect(change.criticality.level).toEqual(CriticalityLevel.Breaking);
Expand Down

0 comments on commit 88a0c0d

Please sign in to comment.