Skip to content

Commit b9c89c1

Browse files
committed
CONT-1219 : Adding test cases
1 parent 5ce375a commit b9c89c1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

__tests__/github.test.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,7 @@ describe('With a new github client', () => {
160160
)
161161
})
162162

163-
test('hasLabel returns true if the label already exists on the issue or pr', () => {
164-
const result = client.getLabels()
165-
expect(result).toEqual(['community'])
166-
})
167-
168-
test('hasLabel returns false if the label does not exist on the issue or pr', () => {
163+
test('getLabels returns true if the label already exists on the issue or pr', () => {
169164
const result = client.getLabels()
170165
expect(result).toEqual(['community'])
171166
})

0 commit comments

Comments
 (0)