MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / jsonToContents

Function jsonToContents

tests/testFileEditor.js:469–471  ·  view source on GitHub ↗
(json)

Source from the content-addressed store, hash-verified

467}
468
469function jsonToContents(json) {
470 return JSON.stringify(json, null, 4) + '\n';
471}
472
473function findEditUrl(name, selector, url, expectedEditUrl) {
474 describe(`GET to ${name}`, function() {

Callers 1

testFileEditor.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected