Files
jNullj 2c25b780f8 change deprecated badge messages to 'retired badge' [Bit Codeclimate Codeship Coincap DockerCloud GithubWorkflowStatus Hackage NostrBand Pub Security-Headers VisualStudioAppCenter VisualStudioMarketplace Wikiapiary] (#11798)
* 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
2026-04-12 22:15:50 +00:00

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',
})