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

Commit d019333

Browse files
committed
test: initial GitHub API mocks
1 parent b4454e2 commit d019333

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/mocks/github.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Packages
2+
const expect = require('expect')
3+
4+
// Mock necessary GitHub APIs here
5+
module.exports = () => {
6+
return {
7+
repos: {
8+
createStatus: expect.createSpy()
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)