mirror of
https://github.com/badges/shields.git
synced 2026-11-21 16:06:35 +03:00
* change deprecated badge messages to 'retired badge' - reduce confusion over deprecated badge source (badge, shields, endpoint service, user's service) - reduce length of message to reduce traffic update all deprecated services and base class code in a follow-up commit after discussion. see https://github.com/badges/shields/pull/11792#issuecomment-4229267483 * update default deprecation message to 'retired badge' * update deprecated badge messages to 'retired badge' in tests
15 lines
315 B
JavaScript
15 lines
315 B
JavaScript
import { ServiceTester } from '../tester.js'
|
|
|
|
export const t = new ServiceTester({
|
|
id: 'codeclimate',
|
|
title: 'CodeClimate',
|
|
pathPrefix: '/codeclimate',
|
|
})
|
|
|
|
t.create('test coverage')
|
|
.get('/coverage/codeclimate/codeclimate.json')
|
|
.expectBadge({
|
|
label: 'codeclimate',
|
|
message: 'retired badge',
|
|
})
|