Skip to content

Commit ff83b85

Browse files
committed
:Merge remote-tracking branch 'origin/add-remote-branches-to-graph' into add-remote-branches-to-graph
2 parents a45898e + fd0ba40 commit ff83b85

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/inputs.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ describe('getCurrentPullRequest', () => {
136136
number: 100,
137137
base: { ref: 'main' },
138138
head: { ref: 'feat/git-town-action' },
139+
state: 'open',
139140
},
140141
},
141142
} as unknown as typeof github.context
@@ -144,8 +145,9 @@ describe('getCurrentPullRequest', () => {
144145

145146
expect(currentPullRequest).toStrictEqual({
146147
number: 100,
147-
baseRefName: 'main',
148-
headRefName: 'feat/git-town-action',
148+
base: { ref: 'main' },
149+
head: { ref: 'feat/git-town-action' },
150+
state: 'open',
149151
})
150152
})
151153

0 commit comments

Comments
 (0)