MCPcopy
hub / github.com/badges/shields / handle

Method handle

services/github/github-auth-service.spec.js:12–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 static route = { base: 'runs' }
11
12 async handle() {
13 const { requiredString } = await this._requestJson({
14 schema: Joi.object({
15 requiredString: Joi.string().required(),
16 }).required(),
17 url: '/repos/badges/shields/check-runs',
18 options: {
19 headers: {
20 Accept: 'application/vnd.github.antiope-preview+json',
21 },
22 },
23 })
24 return { message: requiredString }
25 }
26 }
27
28 it('forwards custom Accept header', async function () {

Callers

nothing calls this directly

Calls 1

_requestJsonMethod · 0.45

Tested by

no test coverage detected