Files
fil/fixtures/contract/config_extraction_timeout.json

35 lines
710 B
JSON
Raw Normal View History

2026-06-01 23:40:55 +02:00
{
"id": "config_extraction_timeout",
"description": "Tests that extraction_timeout_secs config field is accepted and does not affect fast extractions",
"tags": [
"contract",
"config",
"timeout"
],
"call": "extract_file_sync",
"input": {
"path": "pdf/fake_memo.pdf",
"config": {
"extraction_timeout_secs": 300
}
},
"assertions": [
{
"type": "equals",
"field": "mime_type",
"value": "application/pdf"
},
{
"type": "min_length",
"field": "content",
"value": 10
}
],
"skip": {
"languages": [
"wasm"
],
"reason": "WASM cannot access filesystem; use extractBytes with file content instead"
}
}