Skip to content

Commit

Permalink
test: update to probot v10
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jul 19, 2020
1 parent 4316632 commit 4c5c6b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/unit/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ describe('plugin', () => {
beforeEach(() => {
app = new Application()
github = {
repos: {
getContent: jest.fn(() => Promise.resolve({ data: { content: '' } }))
}
request: jest.fn(() => Promise.resolve({ data: { content: '' } }))
}
app.auth = () => Promise.resolve(github)

Expand Down

0 comments on commit 4c5c6b5

Please sign in to comment.