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

update [StackExchangeMonthlyQuestions] example and live test (#11320)

Current example and live test dayjs has no questions right now.
Live tests and examples are prefered to have non-zero output
to better show how a badge might look like for an active topic.

To resolve failing live test and reduce future chance of issues
picked javascript as an high demand question topic.

see also failing tests at https://github.com/badges/shields/actions/runs/17342378230?pr=11318
This commit is contained in:
jNullj
2025-09-01 19:39:12 +03:00
committed by GitHub
parent c8625a3654
commit 400eb66888
2 changed files with 4 additions and 4 deletions

View File

@@ -2,10 +2,10 @@ import { isMetricOverTimePeriod } from '../test-validators.js'
import { createServiceTester } from '../tester.js'
export const t = await createServiceTester()
t.create('Monthly Questions for StackOverflow dayjs')
.get('/stackoverflow/qm/dayjs.json')
t.create('Monthly Questions for StackOverflow javascript')
.get('/stackoverflow/qm/javascript.json')
.expectBadge({
label: 'stackoverflow dayjs questions',
label: 'stackoverflow javascript questions',
message: isMetricOverTimePeriod,
})