Skip to content

Commit a64c2b3

Browse files
committed
Fix gerrit client coverage
1 parent 8d9f0c2 commit a64c2b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/modules/platform/gerrit/client.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,11 @@ describe('modules/platform/gerrit/client', () => {
758758

759759
it('does nothing when no hashtags provided', async () => {
760760
await expect(client.setHashtags(123456, {})).toResolve();
761+
await expect(client.setHashtags(123456, { add: [] })).toResolve();
762+
await expect(client.setHashtags(123456, { remove: [] })).toResolve();
763+
await expect(
764+
client.setHashtags(123456, { add: [], remove: [] }),
765+
).toResolve();
761766
});
762767
});
763768

0 commit comments

Comments
 (0)