39 lines
732 B
JSON
39 lines
732 B
JSON
{
|
|
"id": "output_format_markdown",
|
|
"description": "Tests Markdown output format",
|
|
"tags": [
|
|
"contract",
|
|
"output_format"
|
|
],
|
|
"call": "extract_file_sync",
|
|
"input": {
|
|
"path": "pdf/fake_memo.pdf",
|
|
"config": {
|
|
"output_format": "markdown"
|
|
}
|
|
},
|
|
"assertions": [
|
|
{
|
|
"type": "equals",
|
|
"field": "mime_type",
|
|
"value": "application/pdf"
|
|
},
|
|
{
|
|
"type": "min_length",
|
|
"field": "content",
|
|
"value": 10
|
|
},
|
|
{
|
|
"type": "equals",
|
|
"field": "metadata.output_format",
|
|
"value": "markdown"
|
|
}
|
|
],
|
|
"skip": {
|
|
"languages": [
|
|
"wasm"
|
|
],
|
|
"reason": "WASM cannot access filesystem; use extractBytes with file content instead"
|
|
}
|
|
}
|