1
0
mirror of https://github.com/badges/shields.git synced 2025-11-08 01:07:08 +03:00

replace label in hn-user-karma with U/ (#7500)

This commit is contained in:
Tapan Chudasama
2022-01-19 05:22:50 +05:30
committed by GitHub
parent d5c38c92be
commit 3fc1ef35bc
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import { isMetricAllowNegative } from '../test-validators.js'
export const t = await createServiceTester()
t.create('valid repo').get('/pg.json').expectBadge({
label: 'pg',
label: 'U/pg karma',
message: isMetricAllowNegative,
})
@@ -16,7 +16,7 @@ t.create('valid repo -- negative karma')
.reply(200, { karma: -1234 })
)
.expectBadge({
label: 'negative',
label: 'U/negative karma',
message: isMetricAllowNegative,
})