Skip to content

Commit

Permalink
Remove callback
Browse files Browse the repository at this point in the history
  • Loading branch information
mesaugat committed Mar 11, 2024
1 parent 39a4e43 commit a185b84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scheduler/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Schedules intervals for a repository', () => {
createScheduler(probot)
})

it('gets a page of repositories', async (done) => {
it('gets a page of repositories', async () => {
nock('https://api.github.com')
.get('/app/installations')
.query({ per_page: 1 })
Expand All @@ -45,6 +45,5 @@ describe('Schedules intervals for a repository', () => {
.reply(200, [{ id: 2 }])

await probot.receive({ name: 'installation', payload })
await done()
})
})

0 comments on commit a185b84

Please sign in to comment.