MCPcopy
hub / github.com/TryGhost/Ghost / assert

Function assert

apps/activitypub/src/api/activitypub.test.ts:49–52  ·  view source on GitHub ↗
(_resource, init)

Source from the content-addressed store, hash-verified

47 },
48 'https://activitypub.api/.ghost/activitypub/v1/actions/follow/@user@domain.com': {
49 async assert(_resource, init) {
50 const headers = new Headers(init?.headers);
51 expect(headers.get('Authorization')).toContain('fake-token');
52 },
53 response: JSONResponse({})
54 }
55 });

Callers 15

generateCSVBufferMethod · 0.85
i18n.test.jsFile · 0.85
parseIgnoresFunction · 0.85
getPositionForTextMethod · 0.85
relativeFilePathMethod · 0.85
completeMethod · 0.85
_reportErrorMethod · 0.85
i18n.jsFile · 0.85
constructorMethod · 0.85
v2.test.jsFile · 0.85
assertFromAddressFunction · 0.85

Calls 2

stringifyMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…