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:
@@ -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,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user