Files
shields/services/github/github-labels.tester.js
chris48s 13d75e0607 upgrade to prettier 2 (#5051)
* arrowParens: avoid
* remove trailingComma setting
2020-05-05 21:07:43 +01:00

15 lines
372 B
JavaScript

'use strict'
const t = (module.exports = require('../tester').createServiceTester())
t.create('labels').get('/badges/shields/bug.json').expectBadge({
message: 'bug',
color: '#e11d21',
})
t.create('labels (repo or label not found)')
.get('/badges/shields/somenonexistentlabelthatwouldneverexist.json')
.expectBadge({
message: 'repo or label not found',
})