This commit is contained in:
38
fixtures/contract/output_format_markdown.json
Normal file
38
fixtures/contract/output_format_markdown.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"id": "output_format_markdown",
|
||||
"description": "Tests Markdown output format",
|
||||
"tags": [
|
||||
"contract",
|
||||
"output_format"
|
||||
],
|
||||
"call": "extract_file_sync",
|
||||
"input": {
|
||||
"path": "pdf/fake_memo.pdf",
|
||||
"config": {
|
||||
"output_format": "markdown"
|
||||
}
|
||||
},
|
||||
"assertions": [
|
||||
{
|
||||
"type": "equals",
|
||||
"field": "mime_type",
|
||||
"value": "application/pdf"
|
||||
},
|
||||
{
|
||||
"type": "min_length",
|
||||
"field": "content",
|
||||
"value": 10
|
||||
},
|
||||
{
|
||||
"type": "equals",
|
||||
"field": "metadata.output_format",
|
||||
"value": "markdown"
|
||||
}
|
||||
],
|
||||
"skip": {
|
||||
"languages": [
|
||||
"wasm"
|
||||
],
|
||||
"reason": "WASM cannot access filesystem; use extractBytes with file content instead"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user