This commit is contained in:
30
fixtures/contract/api_batch_bytes_async.json
Normal file
30
fixtures/contract/api_batch_bytes_async.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user