Files
fil/fixtures/contract/api_extract_file_async.json

30 lines
647 B
JSON
Raw Normal View History

2026-06-01 23:40:55 +02:00
{
"id": "api_extract_file_async",
"description": "Tests async file extraction API (extract_file)",
"tags": ["contract", "api"],
"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"]
}
],
"skip": {
"languages": ["wasm"],
"reason": "WASM uses synchronous-only API; async extraction is not available on the wasm target"
}
}