Skip to content
This repository was archived by the owner on Apr 1, 2020. It is now read-only.

Commit 968edb5

Browse files
committed
test: remove obselete test
1 parent 262f653 commit 968edb5

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

test/bot.test.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -62,25 +62,4 @@ describe('commitlint-bot', () => {
6262
expect(github.pullRequests.getCommits).toHaveBeenCalledWith(info)
6363
})
6464
})
65-
66-
describe('sends success when messages are valid', () => {
67-
const success = {
68-
...baseStatus,
69-
state: 'success',
70-
// description: 'found 0 problems, 0 warnings'
71-
description: 'ok'
72-
}
73-
74-
it('works with new PRs', async () => {
75-
// Prepare
76-
// github = githubMock(['fix: me'])
77-
// robot.auth = () => Promise.resolve(github)
78-
await robot.receive(events.opened)
79-
expect(github.repos.createStatus).toHaveBeenCalledWith(success)
80-
})
81-
it('works with updated PRs', async () => {
82-
await robot.receive(events.synchronize)
83-
expect(github.repos.createStatus).toHaveBeenCalledWith(success)
84-
})
85-
})
8665
})

0 commit comments

Comments
 (0)