This commit is contained in:
27
fixtures/smoke/txt_basic.json
Normal file
27
fixtures/smoke/txt_basic.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"id": "smoke_txt_basic",
|
||||
"category": "smoke",
|
||||
"description": "Smoke test: Plain text file",
|
||||
"tags": ["smoke", "text", "plaintext"],
|
||||
"input": {
|
||||
"path": "text/report.txt",
|
||||
"mime_type": "text/plain",
|
||||
"config": {}
|
||||
},
|
||||
"assertions": [
|
||||
{
|
||||
"type": "equals",
|
||||
"field": "mime_type",
|
||||
"value": "text/plain"
|
||||
},
|
||||
{
|
||||
"type": "min_length",
|
||||
"field": "content",
|
||||
"value": 5
|
||||
}
|
||||
],
|
||||
"skip": {
|
||||
"languages": ["wasm"],
|
||||
"reason": "WASM cannot access filesystem; use extractBytes with file content instead"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user