Private beta, by invitation. It may change without warning. While the beta lasts, some paid features are free. See pricing

trumlyspec GitHub
Try trumly

Conformance cases /

missing-type

Tests one part of the structure checks.

Our implementation passes this case when its check --json output for the input below equals the expected output.

Input

nodes/a.md
---
id: a
---

Expected output

0 ghosts · 0 load errors · 1 nodes · 0 results

expected.json
{
 "ghosts": [],
 "load_errors": [],
 "nodes": [
  {
   "body": "",
   "fields": {},
   "id": "a",
   "links": [],
   "parent": null,
   "plane": null,
   "title": "a",
   "type": null
  }
 ],
 "results": [],
 "structure": {
  "errors": [
   {
    "kind": "missing_type",
    "node": "a",
    "ref": null
   }
  ],
  "warnings": []
 }
}