MCPcopy Create free account
hub / github.com/Bytez-com/docs / test

Function test

sdk/javascript/tests/tasks.test.ts:420–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418 const dataUrl = await getDataUrl(url);
419
420 const test = output =>
421 assert(
422 output.input_image_dimensions && output.masks && output.scores,
423 "returns output"
424 );
425
426 it("passes - url", async () => {
427 const { error, output } = await model.run(url);

Callers 1

tasks.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected