31 lines
695 B
JSON
31 lines
695 B
JSON
{
|
|
"id": "api_batch_bytes_async",
|
|
"description": "Tests async batch bytes extraction API (batch_extract_bytes)",
|
|
"tags": ["contract", "api", "batch"],
|
|
"call": "extract_file",
|
|
"skip": {
|
|
"languages": ["wasm"],
|
|
"reason": "WASM uses synchronous-only API; async extraction is not available on the wasm target"
|
|
},
|
|
"input": {
|
|
"path": "pdf/fake_memo.pdf"
|
|
},
|
|
"assertions": [
|
|
{
|
|
"type": "equals",
|
|
"field": "mime_type",
|
|
"value": "application/pdf"
|
|
},
|
|
{
|
|
"type": "min_length",
|
|
"field": "content",
|
|
"value": 10
|
|
},
|
|
{
|
|
"type": "contains_any",
|
|
"field": "content",
|
|
"values": ["May 5, 2023", "Mallori"]
|
|
}
|
|
]
|
|
}
|