MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / assertJson

Function assertJson

scripts/integration/android.mjs:905–907  ·  view source on GitHub ↗
(payload, label)

Source from the content-addressed store, hash-verified

903}
904
905function assertJson(payload, label) {
906 assert.ok(payload && typeof payload === "object", `${label} was not JSON`);
907}
908
909function assertRoots(payload, label) {
910 assertJson(payload, label);

Callers 3

runCliSurfaceFunction · 0.70
runJsSurfaceFunction · 0.70
assertRootsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected