Skip to content

Commit 30fcf09

Browse files
committed
headers arg removed in v6 breaking change
1 parent ba902bb commit 30fcf09

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@ test('it sets the action to failed if there is a request error', async () => {
509509
jest.spyOn(util, 'getBranchNames').mockReturnValue({ headName: 'dependabot|nuget|feature1', baseName: 'main' })
510510
jest.spyOn(dependabotCommits, 'getMessage').mockImplementation(jest.fn(
511511
() => Promise.reject(new RequestError('Something bad happened!', 500, {
512-
headers: {},
513512
request: {
514513
method: 'GET',
515514
url: 'https://api.github.com/repos/dependabot/dependabot/pulls/101/commits',

0 commit comments

Comments
 (0)