Files
fil/fixtures/contract/config_pages.json

44 lines
802 B
JSON
Raw Normal View History

2026-06-01 23:40:55 +02:00
{
"id": "config_pages",
"description": "Tests page extraction and page marker configuration",
"tags": [
"contract",
"config"
],
"call": "extract_file_sync",
"input": {
"path": "pdf/fake_memo.pdf",
"config": {
"pages": {
"extract_pages": true,
"insert_page_markers": true
}
}
},
"assertions": [
{
"type": "equals",
"field": "mime_type",
"value": "application/pdf"
},
{
"type": "min_length",
"field": "content",
"value": 10
},
{
"type": "contains_any",
"field": "content",
"values": [
"PAGE"
]
}
],
"skip": {
"languages": [
"wasm"
],
"reason": "WASM cannot access filesystem; use extractBytes with file content instead"
}
}