Skip to content

Commit

Permalink
clean up tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
mfix22 committed Dec 22, 2018
1 parent dae55bc commit e92eb5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ describe('Bot', () => {
})

test('Will not merge a pull request with state `dirty`', async () => {
github.pullRequests.get.mockResolvedValueOnce({
github.pullRequests.get.mockResolvedValue({
data: {
mergeable: true,
mergeable_state: 'dirty',
Expand Down Expand Up @@ -343,7 +343,7 @@ describe('Bot', () => {
})

test('Will remove the existing job if a new label event occurs', async () => {
github.pullRequests.get.mockResolvedValueOnce({
github.pullRequests.get.mockResolvedValue({
data: {
mergeable: false,
mergeable_state: 'clean',
Expand Down

0 comments on commit e92eb5e

Please # to comment.