MCPcopy Create free account
hub / github.com/codecombat/codecombat / json

Function json

test/app/core/api/fetch-json.spec.js:11–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9 beforeEach(() => spyOn(window, 'fetch').and.returnValue(Promise.resolve({
10 status: 200,
11 json() { return {}; },
12 text() { return '{}'; },
13 headers: {
14 get(attr) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected