Skip to content

Commit

Permalink
Explicitly mark axios response as any
Browse files Browse the repository at this point in the history
We could probably do a better job of typing the response here, but for
now this gets the build green.
  • Loading branch information
Jurre Stender committed Oct 18, 2021
1 parent e98d320 commit 4c20889
Show file tree
Hide file tree
Showing 4 changed files with 234 additions and 120 deletions.
2 changes: 1 addition & 1 deletion __tests__/updater-integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('Updater', () => {

// NOTE: This will not work when running against the actual dependabot-api
// Checks if the pr was persisted in the fake json-server
const res = await client.get('/pull_requests/1')
const res: any = await client.get('/pull_requests/1')

expect(res.status).toEqual(200)
expect(res.data['pr-title']).toEqual(
Expand Down
Loading

0 comments on commit 4c20889

Please sign in to comment.