We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49d14c9 commit 2ad9009Copy full SHA for 2ad9009
test/unit/lib/plugins/branches.test.js
@@ -28,7 +28,7 @@ describe('Branches', () => {
28
enforce_admins: { enabled: false }
29
}
30
}),
31
- updateBranchProtection: jest.fn().mockImplementation(() => Promise.resolve('updateBranchProtection')),
+ updateBranchProtection: jest.fn().mockImplementation(() => Promise.resolve({ url: 'updateBranchProtection' })),
32
deleteBranchProtection: jest.fn().mockImplementation(() => Promise.resolve('deleteBranchProtection'))
33
34
@@ -204,7 +204,7 @@ describe('Branches', () => {
204
})
205
206
207
- describe.skip('return values', () => {
+ describe('return values', () => {
208
it('returns updateBranchProtection Promise', () => {
209
const plugin = configure(
210
[{
0 commit comments