MCPcopy Index your code
hub / github.com/cloudconvert/cloudconvert-cli / createFinishedJob

Function createFinishedJob

test/job.test.ts:547–570  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

545}
546
547function createFinishedJob(): Job {
548 return {
549 id: 'job-id',
550 tasks: [
551 {
552 name: 'export',
553 operation: 'export/url',
554 result: {
555 files: [
556 {
557 filename: 'output.pdf',
558 url: 'https://example.com/output.pdf'
559 }
560 ]
561 }
562 },
563 {
564 name: 'process',
565 operation: 'optimize',
566 message: 'File size reduced by 12%'
567 }
568 ]
569 };
570}
571
572function createArgv(client: CloudConvertClient, files: string[]): CliArguments {
573 return {

Callers 1

job.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected