Skip to content

Commit 52c0bec

Browse files
committed
adapted the tests for TYPE_REMOVED with location
1 parent 34d68dd commit 52c0bec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/utilities/__tests__/findBreakingChanges-test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,10 +676,17 @@ describe('findBreakingChanges', () => {
676676
{
677677
type: BreakingChangeType.TYPE_REMOVED,
678678
description: 'Int was removed.',
679+
oldLoc: undefined,
679680
},
680681
{
681682
type: BreakingChangeType.TYPE_REMOVED,
682683
description: 'TypeThatGetsRemoved was removed.',
684+
oldLoc: {
685+
startLine: 42,
686+
startColumn: 7,
687+
endLine: 44,
688+
endColumn: 7,
689+
},
683690
},
684691
{
685692
type: BreakingChangeType.ARG_CHANGED_KIND,

0 commit comments

Comments
 (0)