We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 639669f commit a63c61aCopy full SHA for a63c61a
1 file changed
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