Tests / @ogygia/content

@ogygia/content

Version 0.13.1
commit 4b18f465
466 test runs (466 tests, each run in Node, the browsers or both)
0.47× lines of test for each line of source (5,769 to 12,267) Only real test code counts: test files and their helpers, not fixtures, sample apps or benches. Blank lines are left out on both sides.
Exactly what is counted non-blank lines of test code across the repo (*.test.ts, *.test-d.ts, *.spec.ts, and the .ts helpers in test/ and e2e/ folders; no fixtures, fixture apps, stubs or benches), over non-blank lines of packages/*/src (no .d.ts or generated files)
77.0% of source lines run by the tests
  • 459Unit
  • 7Browser
  • 0End to end
  • 0Type tests
  • 0Lint rules
  • 0Failing

Coverage

  • 77.0%Lines
  • 62.7%Branches
  • 71.4%Functions
  • 73.1%Statements

Every test

End-to-end suites are not part of this report yet.

466 tests

TestKindNodeChromiumFirefoxWebKit
packages/content/test/blocks-resolve.test.ts
resolve_block_tree > accepts a single node or an arrayUnitpassnot runnot runnot run
resolve_block_tree > carries no registry into the resolved tree (only region values)Unitpassnot runnot runnot run
resolve_block_tree > recurses into childrenUnitpassnot runnot runnot run
resolve_block_tree > skips an unregistered type rather than throwingUnitpassnot runnot runnot run
resolve_block_tree > turns each node type into a region valueUnitpassnot runnot runnot run
packages/content/test/browser/code-chrome.test.ts
a clipboard that refuses is no unhandled rejection, and shows no tickBrowsernot runpasspasspass
a second copy within the tick keeps the tick for its full timeBrowsernot runpasspasspass
packages/content/test/browser/search-palette.test.ts
a search query that fails (#273) > shows the error, drops the old results, and leaves no unhandled rejection#273Browsernot runpasspasspass
packages/content/test/browser/shell-bar.test.ts
the mobile bar switches its sheet between views > holds the height through a glide, then lets go when it endsBrowsernot runpasspasspass
the mobile bar switches its sheet between views > lets go of the pinned height when no glide runsBrowsernot runpasspasspass
packages/content/test/browser/sidebar.test.ts
the sidebar keeps its scroll position > lets go of the panel when it unmounts: scrolling the panel after saves nothingBrowsernot runpasspasspass
the sidebar keeps its scroll position > saves the position while it is mountedBrowsernot runpasspasspass
packages/content/test/code.test.ts
fence meta parsers > infostring() reads chrome meta (title→file, quoted, bare, booleans); ignores line rangesUnitpassnot runnot runnot run
fence meta parsers > parsers LAYER (later wins on collision)Unitpassnot runnot runnot run
fence meta parsers > slash_meta() reads /// file:/copy:/link: and STRIPS them from sourceUnitpassnot runnot runnot run
run_variants — race > no generator claims → nullUnitpassnot runnot runnot run
run_variants — race > the FIRST generator to return non-null claims the fenceUnitpassnot runnot runnot run
packages/content/test/config-surface.test.ts
content presets — config-time validation > publishes valid presets to the bridgeUnitpassnot runnot runnot run
content presets — config-time validation > rejects an empty preset and non-identifier namesUnitpassnot runnot runnot run
content presets — config-time validation > rejects non-content vocabulary in a presetUnitpassnot runnot runnot run
content presets — config-time validation > requires the markdown baseUnitpassnot runnot runnot run
loader macro preset door > a `preset` key nested in some other object is not the loader’s ownUnitpassnot runnot runnot run
loader macro preset door > a presetless call emits no query (bare module — shared with every other presetless glob)Unitpassnot runnot runnot run
loader macro preset door > keeps sibling options intact while stripping presetUnitpassnot runnot runnot run
loader macro preset door > mints the module-variant query and strips preset from runtime optionsUnitpassnot runnot runnot run
loader macro preset door > non-literal preset is a build error (the macro-argument law)Unitpassnot runnot runnot run
loader macro preset door > unknown preset name errors listing the configured namesUnitpassnot runnot runnot run
packages/content/test/constructs-stress.test.ts
.svelte multi-script-block interactions > a <script module> wire class AND a <script> code() call both rewrite, blocks independentUnitpassnot runnot runnot run
.svelte multi-script-block interactions > a DECOY string that looks like a call in another block is not rewrittenUnitpassnot runnot runnot run
.svelte multi-script-block interactions > markup PROSE mimicking a call stays literalUnitpassnot runnot runnot run
code/md — byte-offset integrity under multi-byte unicode > code + md interleaved on ONE line both rewrite, offsets independentUnitpassnot runnot runnot run
code/md — byte-offset integrity under multi-byte unicode > code() with emoji prose before it splices correctlyUnitpassnot runnot runnot run
code/md — demented shapes that must WORK > deeply nested template with many ${}-looking but escaped sequencesUnitpassnot runnot runnot run
code/md — demented shapes that must WORK > empty source stringUnitpassnot runnot runnot run
code/md — demented shapes that must WORK > md source containing a </script> sequence in a .ts host (valid there)Unitpassnot runnot runnot run
code/md — demented shapes that must WORK > the code source contains backticks-as-content via escapingUnitpassnot runnot runnot run
code/md — demented shapes that must WORK > the source contains the marker text as a string literal in the codeUnitpassnot runnot runnot run
code/md — demented shapes that must WORK > the whole family markers appearing together, only code/md rewrite hereUnitpassnot runnot runnot run
code/md — must FAIL LOUDLY > code with a computed/non-literal langUnitpassnot runnot runnot run
code/md — must FAIL LOUDLY > code with zero argsUnitpassnot runnot runnot run
code/md — must FAIL LOUDLY > interpolated code sourceUnitpassnot runnot runnot run
code/md — must FAIL LOUDLY > interpolated md sourceUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > code with an identifier source → static string literal + lineUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > loader with a concatenation first arg → static string literalUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > loader with an identifier first arg → static string literalUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > md with wrong arity → takes exactly one argumentUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > regions with a non-literal glob → static string literalUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > unknown loader method → lists the valid loadersUnitpassnot runnot runnot run
regions — demented shapes > a glob matching NOTHING yields an empty registry, not a crashUnitpassnot runnot runnot run
regions — demented shapes > filenames with spaces and special chars become string-keyed, importable specifiersUnitpassnot runnot runnot run
packages/content/test/content-runs.test.ts
mark_content_calls > leaves a module alone that calls no content() from @ogygia/contentUnitpassnot runnot runnot run
mark_content_calls > leaves a module alone that does not parse (mid-edit)Unitpassnot runnot runnot run
mark_content_calls > marks a module still in TypeScript the same, at the same offsetsUnitpassnot runnot runnot run
mark_content_calls > marks a named, a renamed and a namespace content() call, and asks for the run onceUnitpassnot runnot runnot run
packages/content/test/content.test.ts
content graph — relations + backlinks > a collection with no relations still receives backlinks from othersUnitpassnot runnot runnot run
content graph — relations + backlinks > a missing single ref is nullUnitpassnot runnot runnot run
content graph — relations + backlinks > inverts backlinks across collectionsUnitpassnot runnot runnot run
content graph — relations + backlinks > resolves a single-string relation to one RefEntryUnitpassnot runnot runnot run
content graph — relations + backlinks > resolves an array relation to RefEntry[]Unitpassnot runnot runnot run
content() catalog > collection-level filter hides entries from every read pathUnitpassnot runnot runnot run
content() catalog > entries / entry from markdown(glob)Unitpassnot runnot runnot run
content() catalog > get() on a data-only entry has no bodyUnitpassnot runnot runnot run
content() catalog > get() returns id/data/meta + inline-partial bodyUnitpassnot runnot runnot run
content() catalog > get() returns null on a filtered-out / unknown idUnitpassnot runnot runnot run
content() catalog > list mints a prerender remote (static source)Unitpassnot runnot runnot run
content() catalog > per-remote filter narrows the collection filter (AND), never widens itUnitpassnot runnot runnot run
content() catalog > rejects a bare glob map (from must be a source)Unitpassnot runnot runnot run
enrich() source middleware > merges derived meta into refs() and get(), keeps existing metaUnitpassnot runnot runnot run
enrich() source middleware > threads groups() throughUnitpassnot runnot runnot run
format source-builders > json: unwraps default, data-only (no body)Unitpassnot runnot runnot run
format source-builders > markdown: data + inline-partial body + headings in metaUnitpassnot runnot runnot run
format source-builders > markdown: surfaces the compiler-injected __ogygia_source as a LAZY entry.sourceUnitpassnot runnot runnot run
frontmatter > parses yaml and strips bodyUnitpassnot runnot runnot run
frontmatter > rejects broken yamlUnitpassnot runnot runnot run
glob() source ids > honors a custom id mapperUnitpassnot runnot runnot run
glob() source ids > strips shared prefix + extension generically (no hardcoded format list)Unitpassnot runnot runnot run
live source + live remotes > live.get projects one id from the seeded snapshotUnitpassnot runnot runnot run
live source + live remotes > live.list mints query_live and projects the seeded snapshotUnitpassnot runnot runnot run
vite content plugin > exposes invalidateModuleTreeUnitpassnot runnot runnot run
vite content plugin > handles importer cyclesUnitpassnot runnot runnot run
vite content plugin > plugin has no content.config transformUnitpassnot runnot runnot run
packages/content/test/convention-dated.test.ts
date_of > reads a valid date prefixUnitpassnot runnot runnot run
date_of > rejects undated and impossible-date segmentsUnitpassnot runnot runnot run
dated() > honors ordered:false opt-outUnitpassnot runnot runnot run
dated() > same-day posts share an order (ties break alphabetically downstream)Unitpassnot runnot runnot run
dated() > strips the date from the slug and orders chronologicallyUnitpassnot runnot runnot run
dated() > undated segments pass through unorderedUnitpassnot runnot runnot run
dated() > verify flags only impossible date-looking prefixesUnitpassnot runnot runnot run
dated({ format }) > DD-MM-YYYY european formatUnitpassnot runnot runnot run
dated({ format }) > dotted separators are literalUnitpassnot runnot runnot run
dated({ format }) > throws on a format missing a tokenUnitpassnot runnot runnot run
dated({ format }) > YYYYMMDD compact formatUnitpassnot runnot runnot run
packages/content/test/convention.test.ts
folder() convention > `ordered: false` in a directory +meta.json exempts itUnitpassnot runnot runnot run
folder() convention > a +meta.json label overrides the title-cased defaultUnitpassnot runnot runnot run
folder() convention > a clean corpus builds, ordered by NN-, ids/groups derivedUnitpassnot runnot runnot run
folder() convention > a whole custom convention reshapes structure (dot-ordering instead of dashes)Unitpassnot runnot runnot run
folder() convention > duplicate numbers in a directory fail the read, namedUnitpassnot runnot runnot run
numbered().verify > a +meta.json `ordered: false` exempts the directoryUnitpassnot runnot runnot run
numbered().verify > a directory with no prefixes is simply unordered — no issuesUnitpassnot runnot runnot run
numbered().verify > clean numbering passesUnitpassnot runnot runnot run
numbered().verify > duplicate numbers are an errorUnitpassnot runnot runnot run
numbered().verify > gaps pass by default, fail with contiguousUnitpassnot runnot runnot run
numbered().verify > inconsistent padding is an error (1- next to 01-)Unitpassnot runnot runnot run
numbered().verify > mixed prefixed and unprefixed siblings is an errorUnitpassnot runnot runnot run
numbered().verify > pad option enforces an exact widthUnitpassnot runnot runnot run
packages/content/test/dev-close.test.ts
the content plugin in dev, when its server closes > a restart ends the old run only: the new server still reloads on an editUnitpassnot runnot runnot run
the content plugin in dev, when its server closes > lets go of a reload it was still waiting to sendUnitpassnot runnot runnot run
the content plugin in dev, when its server closes > still reloads on an edit while the server runsUnitpassnot runnot runnot run
packages/content/test/dev-reload.test.ts
edits in dev (#247), modules loaded by ssrLoadModule > a collection in a module the edit did not run again keeps its connection and its place#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by ssrLoadModule > a collection the module keeps across its runs still answers and follows after an edit#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by ssrLoadModule > a live list open across an edit gets the new values or ends, never hangs#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by ssrLoadModule > a module invalidated again while it runs: the run after it replaces what it built#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by ssrLoadModule > an app in a folder whose name has a space: the same#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by ssrLoadModule > two edits of the collections module itself: the same#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by ssrLoadModule > two modules of the same name, each with a collection of the same name: an edit replaces only its own#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by ssrLoadModule > two page edits leave one live connection and one collection in the graph#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by the ssr environment's runner > a collection in a module the edit did not run again keeps its connection and its place#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by the ssr environment's runner > a collection the module keeps across its runs still answers and follows after an edit#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by the ssr environment's runner > a live list open across an edit gets the new values or ends, never hangs#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by the ssr environment's runner > a module invalidated again while it runs: the run after it replaces what it built#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by the ssr environment's runner > an app in a folder whose name has a space: the same#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by the ssr environment's runner > two edits of the collections module itself: the same#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by the ssr environment's runner > two modules of the same name, each with a collection of the same name: an edit replaces only its own#247Unitpassnot runnot runnot run
edits in dev (#247), modules loaded by the ssr environment's runner > two page edits leave one live connection and one collection in the graph#247Unitpassnot runnot runnot run
edits in dev under Bun (#247) > two page edits leave one live connection, however Kit loads the module#247Unitpassnot runnot runnot run
packages/content/test/diff-markers.test.ts
diff_markers > a bare marker marks an added/removed EMPTY lineUnitpassnot runnot runnot run
diff_markers > is inert on a fence with no markersUnitpassnot runnot runnot run
diff_markers > leaves marker-like code alone: no space, no dialectUnitpassnot runnot runnot run
diff_markers > skips languages where a leading --- is real syntax (yaml)Unitpassnot runnot runnot run
diff_markers > strips the markers and classes the linesUnitpassnot runnot runnot run
packages/content/test/dimensions.test.ts
dimensions — addresses union (prerender the whole matrix) > includes fallback URLs and excludes non-fallback missesUnitpassnot runnot runnot run
dimensions — coordinate encoding > default coordinate is bare; non-defaults get ordered segmentsUnitpassnot runnot runnot run
dimensions — coordinate encoding > is_dimensioned narrowsUnitpassnot runnot runnot run
dimensions — fallback (render, never 404) > an axis without fallback 404s (version has no fallback)Unitpassnot runnot runnot run
dimensions — fallback (render, never 404) > doc carries the coordinateUnitpassnot runnot runnot run
dimensions — fallback (render, never 404) > native page has fallback nullUnitpassnot runnot runnot run
dimensions — fallback (render, never 404) > untranslated page serves default-locale content with a fallback flagUnitpassnot runnot runnot run
dimensions — nav reflects the coordinate > nav hrefs carry the coordinate prefixUnitpassnot runnot runnot run
dimensions — nav reflects the coordinate > nav(slug) shows that coordinate’s treeUnitpassnot runnot runnot run
dimensions — neighbors are coordinate-prefixed > next stays in the same coordinateUnitpassnot runnot runnot run
dimensions — resolve serves the right coordinate > picks content per coordinateUnitpassnot runnot runnot run
dimensions — resolve serves the right coordinate > re-prefixes the slug/href to the full addressUnitpassnot runnot runnot run
dimensions — site load/entries integration (the real mount) > entries prerenders the coordinate-prefixed union (incl. fallback URLs)Unitpassnot runnot runnot run
dimensions — site load/entries integration (the real mount) > load resolves a valid coordinate slug and 404s an unknown oneUnitpassnot runnot runnot run
dimensions — switcher never dead-ends > a value where the page is missing points at that coordinate root, flagged missingUnitpassnot runnot runnot run
dimensions — switcher never dead-ends > offers every axis value with a resolvable hrefUnitpassnot runnot runnot run
dimensions — switcher never dead-ends > plain (non-dimensioned) site returns null switcherUnitpassnot runnot runnot run
packages/content/test/fence-cache.test.ts
fence cache > a disabled cache (dir null) is silentUnitpassnot runnot runnot run
fence cache > keys are stable and input-sensitiveUnitpassnot runnot runnot run
fence cache > set/get round-trip; miss → nullUnitpassnot runnot runnot run
packages/content/test/frontmatter.test.ts
parse_yaml — adversarial mixes > a colon inside a double-quoted value does not split the keyUnitpassnot runnot runnot run
parse_yaml — adversarial mixes > blank lines between entries are ignoredUnitpassnot runnot runnot run
parse_yaml — adversarial mixes > CRLF line endings are handledUnitpassnot runnot runnot run
parse_yaml — adversarial mixes > maps and sequences deeply mixedUnitpassnot runnot runnot run
parse_yaml — adversarial mixes > tabs used for indentation are rejectedUnitpassnot runnot runnot run
parse_yaml — adversarial mixes > top-level plain scalarUnitpassnot runnot runnot run
parse_yaml — adversarial mixes > trailing whitespace on lines is toleratedUnitpassnot runnot runnot run
parse_yaml — block scalars > block scalar followed by another keyUnitpassnot runnot runnot run
parse_yaml — block scalars > folded > joins lines with spacesUnitpassnot runnot runnot run
parse_yaml — block scalars > folded blank line becomes a paragraph breakUnitpassnot runnot runnot run
parse_yaml — block scalars > literal | keeps newlinesUnitpassnot runnot runnot run
parse_yaml — block scalars > literal strip |- has no trailing newlineUnitpassnot runnot runnot run
parse_yaml — block sequences > empty sequence item → nullUnitpassnot runnot runnot run
parse_yaml — block sequences > nested sequences (- - x)Unitpassnot runnot runnot run
parse_yaml — block sequences > sequence at the SAME indent as its keyUnitpassnot runnot runnot run
parse_yaml — block sequences > sequence of mapsUnitpassnot runnot runnot run
parse_yaml — block sequences > simple scalar sequenceUnitpassnot runnot runnot run
parse_yaml — block sequences > top-level sequenceUnitpassnot runnot runnot run
parse_yaml — block sequences > typed items in a sequenceUnitpassnot runnot runnot run
parse_yaml — comments > # inside a double-quoted value is NOT a commentUnitpassnot runnot runnot run
parse_yaml — comments > a#b (no leading space) stays a plain scalarUnitpassnot runnot runnot run
parse_yaml — comments > trailing # comment strippedUnitpassnot runnot runnot run
parse_yaml — comments > value that is only a comment → nullUnitpassnot runnot runnot run
parse_yaml — dates stay strings > ISO date is NOT converted to a DateUnitpassnot runnot runnot run
parse_yaml — dates stay strings > ISO datetime stays a stringUnitpassnot runnot runnot run
parse_yaml — empty & trivial > comment-only → {}Unitpassnot runnot runnot run
parse_yaml — empty & trivial > empty string → {}Unitpassnot runnot runnot run
parse_yaml — empty & trivial > whitespace-only → {} (not null)Unitpassnot runnot runnot run
parse_yaml — flat mappings & scalar types > booleans are ONLY true/falseUnitpassnot runnot runnot run
parse_yaml — flat mappings & scalar types > integers, negatives, plus, exponents, floatsUnitpassnot runnot runnot run
parse_yaml — flat mappings & scalar types > multiple keys in one blockUnitpassnot runnot runnot run
parse_yaml — flat mappings & scalar types > Norway problem: yes/no/on/off/y/n stay STRINGSUnitpassnot runnot runnot run
parse_yaml — flat mappings & scalar types > null spellings: null, ~, and empty valueUnitpassnot runnot runnot run
parse_yaml — flat mappings & scalar types > plain string valuesUnitpassnot runnot runnot run
parse_yaml — flow collections > a brace-wrapped token with no top-level colon is a STRING, not a mappingUnitpassnot runnot runnot run
parse_yaml — flow collections > a single bracketed phrase (no top-level comma) is a STRING, not a 1-element arrayUnitpassnot runnot runnot run
parse_yaml — flow collections > empty flow collectionsUnitpassnot runnot runnot run
parse_yaml — flow collections > flow mappingUnitpassnot runnot runnot run
parse_yaml — flow collections > flow sequenceUnitpassnot runnot runnot run
parse_yaml — flow collections > flow sequence with typed valuesUnitpassnot runnot runnot run
parse_yaml — flow collections > nested flow collectionsUnitpassnot runnot runnot run
parse_yaml — flow collections > quoted string inside flow keeps commas/colonsUnitpassnot runnot runnot run
parse_yaml — flow collections > top-level flowUnitpassnot runnot runnot run
parse_yaml — nested block mappings > three-level nestingUnitpassnot runnot runnot run
parse_yaml — nested block mappings > two-level nestingUnitpassnot runnot runnot run
parse_yaml — quoting > double-quoted escapes: \n \t \" \\ \r \0 \uXXXXUnitpassnot runnot runnot run
parse_yaml — quoting > numbers-that-look-like-versions stay strings if quotedUnitpassnot runnot runnot run
parse_yaml — quoting > quoted KEYS (single and double), including a colon in the keyUnitpassnot runnot runnot run
parse_yaml — quoting > quoted values containing : and [ Unitpassnot runnot runnot run
parse_yaml — quoting > single-quoted is literal; `''` escapes a quoteUnitpassnot runnot runnot run
packages/content/test/git-checkout.test.ts
git loaders on one repo > a loader on another ref checks that ref outUnitpassnot runnot runnot run
git loaders on one repo > two loaders with different folders each find their own filesUnitpassnot runnot runnot run
packages/content/test/inline-markers.test.ts
inline_markers > a --- alone on its line is never a marker (frontmatter / hr shown in a fence)Unitpassnot runnot runnot run
inline_markers > a multi-line highlight closes and reopens per line (spans cannot cross lines)Unitpassnot runnot runnot run
inline_markers > an unpaired marker is left as-isUnitpassnot runnot runnot run
inline_markers > custom classes replace the defaults (the svelte.dev skin)Unitpassnot runnot runnot run
inline_markers > removed content is text: markup in it is escaped, never live HTML (#396)#396Unitpassnot runnot runnot run
inline_markers > removed content keeps a $ pattern as written (#396)#396Unitpassnot runnot runnot run
inline_markers > skips markdown-family fences — a docs page showing the syntax renders it literallyUnitpassnot runnot runnot run
inline_markers > wraps a removed span and keeps its content visibleUnitpassnot runnot runnot run
inline_markers > wraps an added span, strips the delimitersUnitpassnot runnot runnot run
packages/content/test/island-ownership.test.ts
island-transform ownership > the markup hook does NOT island-transform a .svelte (no bridge call, no phantom)Unitpassnot runnot runnot run
island-transform ownership > the markup hook still island-transforms CONTENT files through the bridgeUnitpassnot runnot runnot run
packages/content/test/lifecycle.test.ts
a change made while the first value is built is not missed (#191) > live.get: the same#191Unitpassnot runnot runnot run
a change made while the first value is built is not missed (#191) > live.list: a change between the first value and the next pull is yielded#191Unitpassnot runnot runnot run
a change made while the first value is built is not missed (#191) > the live connection is open before the first full read: a change during it is seen#191Unitpassnot runnot runnot run
a collection a newer run of its module replaces stops following (#247) > a collection the same run builds replaces nothing#247Unitpassnot runnot runnot run
a collection a newer run of its module replaces stops following (#247) > a live list streaming it ends once it was replaced, and so does a live get#247Unitpassnot runnot runnot run
a collection a newer run of its module replaces stops following (#247) > its live connection: a change after it was replaced is not read#247Unitpassnot runnot runnot run
a collection a newer run of its module replaces stops following (#247) > its retry: a dropped connection is not opened again once it was replaced#247Unitpassnot runnot runnot run
a collection a newer run of its module replaces stops following (#247) > the module kept it: read again, it follows again#247Unitpassnot runnot runnot run
a collection never keeps a failed start (#189) > a schema error on the first read: fixed at the source, the next read loads#189Unitpassnot runnot runnot run
a collection never keeps a failed start (#189) > a source that is down for the first read: the next read loads#189Unitpassnot runnot runnot run
a collection never keeps a failed start (#189) > a source whose init fails once: the next read starts it again#189Unitpassnot runnot runnot run
a collection never keeps a failed start (#189) > readers while it loads share the one load#189Unitpassnot runnot runnot run
a dimension (a language, a version) never keeps a failed outline (#192) > fr fails to build once: the next fr page builds#192Unitpassnot runnot runnot run
a folder sidecar that fails to load once is loaded again (#246) > its groups: the next read has the label#246Unitpassnot runnot runnot run
a folder sidecar that fails to load once is loaded again (#246) > once loaded, the sidecars are kept: readers share the one load#246Unitpassnot runnot runnot run
a folder sidecar that fails to load once is loaded again (#246) > the collection: the next read loads it#246Unitpassnot runnot runnot run
a live edit that breaks the outline keeps the last good one > an entry the outline places nowhere: the nav stays, an error says why, the fix appliesUnitpassnot runnot runnot run
a live edit that breaks the outline keeps the last good one > the first weave failing is still the caller’s error (there is nothing to keep)Unitpassnot runnot runnot run
a live source keeps going (#190) > a dropped connection is opened again, and what changed meanwhile is read#190Unitpassnot runnot runnot run
a live source keeps going (#190) > one bad update (a field the schema refuses) does not stop the ones after it#190Unitpassnot runnot runnot run
a source that is down never leaves live connections behind > a reconnect whose read fails waits and tries again on the same connectionUnitpassnot runnot runnot run
a source that is down never leaves live connections behind > reads that fail while the source is down share one connection, and the change it brings applies onceUnitpassnot runnot runnot run
site search follows the content (#193) > a failed first build is not kept: the next search builds again#193Unitpassnot runnot runnot run
site search follows the content (#193) > a page a live source adds is found by the next search#193Unitpassnot runnot runnot run
the outline is stamped with the content it read, never a newer version (#326) > a change that lands while its entries are graphed: the next read weaves again#326Unitpassnot runnot runnot run
packages/content/test/loaders-stress.test.ts
loaders — demented shapes > a git spec with an @ref AND a sub path AND regex opts survivesUnitpassnot runnot runnot run
loaders — demented shapes > a loader nested inside a ternary inside an objectUnitpassnot runnot runnot run
loaders — demented shapes > a non-literal first arg (template literal) is rejected loudlyUnitpassnot runnot runnot run
loaders — demented shapes > an unknown loader method is rejected with a helpful messageUnitpassnot runnot runnot run
loaders — demented shapes > empty input, whitespace-only input, and marker-free input are no-opsUnitpassnot runnot runnot run
loaders — demented shapes > the marker inside a comment and a string is not a call (AST)Unitpassnot runnot runnot run
loaders — demented shapes > two loaders on one line, both rewrite, import injected onceUnitpassnot runnot runnot run
scanner fallback — when the AST bails on an unparseable tail > loaders: a git spec with regex opts survives the fallback pathUnitpassnot runnot runnot run
scanner fallback — when the AST bails on an unparseable tail > loaders: fallback finds the call after an unparseable tail, string marker ignoredUnitpassnot runnot runnot run
packages/content/test/loaders.test.ts
expand_braces > expands a single alternationUnitpassnot runnot runnot run
expand_braces > expands multiple groups as a cartesian productUnitpassnot runnot runnot run
expand_braces > handles nested bracesUnitpassnot runnot runnot run
expand_braces > leaves an unbalanced brace untouchedUnitpassnot runnot runnot run
expand_braces > passes a brace-free pattern straight throughUnitpassnot runnot runnot run
find_loader_calls > AST path: ignores the marker inside a comment or string (only real call nodes count)Unitpassnot runnot runnot run
find_loader_calls > captures verbatim options that contain regex literals with slashes in char classesUnitpassnot runnot runnot run
find_loader_calls > finds a bare git call with no optionsUnitpassnot runnot runnot run
find_loader_calls > finds all four loader kindsUnitpassnot runnot runnot run
find_loader_calls > is not fooled by a close-paren inside a string optionUnitpassnot runnot runnot run
find_loader_calls > scanner fallback: still ignores comments/strings when the source does not parseUnitpassnot runnot runnot run
git_checkout_dir > joins under the project cache rootUnitpassnot runnot runnot run
git_glob_pattern > honors a custom extensionUnitpassnot runnot runnot run
git_glob_pattern > is a root-absolute glob under node_modules/.ogygia/content/<slug>/<sub>Unitpassnot runnot runnot run
git_glob_pattern > omits the sub segment when there is noneUnitpassnot runnot runnot run
git_slug > is the whole spec (owner, repo, ref, sub), filesystem-safeUnitpassnot runnot runnot run
git_slug > never spells two specs one wayUnitpassnot runnot runnot run
loader_patterns — the opinionated directory form > a file-looking path (dotted basename) is left alone — never treated as a directoryUnitpassnot runnot runnot run
loader_patterns — the opinionated directory form > an explicit glob passes through (brace-expanded, unchanged semantics)Unitpassnot runnot runnot run
loader_patterns — the opinionated directory form > dot-relative directories still expand (`.`/`..` are not file-looking)Unitpassnot runnot runnot run
loader_patterns — the opinionated directory form > folder(dir) derives the +doc.svx / +meta.json convention setUnitpassnot runnot runnot run
loader_patterns — the opinionated directory form > markdown(dir) derives *.svx + *.md; json(dir) derives *.json; trailing slash normalizedUnitpassnot runnot runnot run
loader_patterns — the opinionated directory form > rewrite emits the array-form glob for a directory argument (dev + build agree)Unitpassnot runnot runnot run
lockfile round-trip > per-slug sha entries round-trip through the shared build cacheUnitpassnot runnot runnot run
parse_git_spec > owner/repo → default ref HEAD, empty subUnitpassnot runnot runnot run
parse_git_spec > owner/repo:path → sub, default refUnitpassnot runnot runnot run
parse_git_spec > owner/repo@ref:path → all threeUnitpassnot runnot runnot run
parse_git_spec > strips leading/trailing slashes from the sub pathUnitpassnot runnot runnot run
parse_git_spec > throws on a spec with no owner/repoUnitpassnot runnot runnot run
rewrite_loaders > brace alternation → Vite array form (dev matcher drops `{+doc,…}` braces, so expand them)Unitpassnot runnot runnot run
rewrite_loaders > git → folder(import.meta.glob(...)) with a lazy glob + aliased importUnitpassnot runnot runnot run
rewrite_loaders > json → json(...) and folder → folder(...), importing only what is usedUnitpassnot runnot runnot run
rewrite_loaders > leaves a source with no loader calls untouched (no injected import)Unitpassnot runnot runnot run
rewrite_loaders > markdown → markdown(import.meta.glob(<literal glob>, { eager: false }))Unitpassnot runnot runnot run
packages/content/test/markdown-cache-key.test.ts
markup cache key > a moved file with the same content bakes its own CSS keyUnitpassnot runnot runnot run
markup cache key > the same file compiled again still hits the cacheUnitpassnot runnot runnot run
packages/content/test/markdown-start.test.ts
the highlighter never keeps a failed start (#248) > once started it is kept: highlights while it starts share the one start#248Unitpassnot runnot runnot run
the highlighter never keeps a failed start (#248) > the first start fails: the next highlight starts it again#248Unitpassnot runnot runnot run
the markdown preprocessor never keeps a failed start (#248) > mdsvex fails to start: the next page renders#248Unitpassnot runnot runnot run
packages/content/test/markdown.test.ts
code dialect — shiki transformers passthrough > a plain fence (no variant claims it) stays the single-variant pathUnitpassnot runnot runnot run
code dialect — shiki transformers passthrough > a variant generator produces a multi-variant switcher (both versions inline)Unitpassnot runnot runnot run
code dialect — shiki transformers passthrough > applies a transformer to every fence (the ecosystem contract)Unitpassnot runnot runnot run
code dialect — shiki transformers passthrough > passes the raw fence infostring to transformers as meta.__raw (so {1-3} line highlight works)Unitpassnot runnot runnot run
code-block ids > gives two identical blocks in one section distinct idsUnitpassnot runnot runnot run
code-block ids > is a stable content hash — the id survives inserting a block earlier in the sectionUnitpassnot runnot runnot run
code-block ids > stamps a scoped `slug-code-<hash>` id onto the <pre> in the SSR HTMLUnitpassnot runnot runnot run
code-block ids > uses a bare `code-<hash>` id for a block before any headingUnitpassnot runnot runnot run
content preset dispatch (v3 config surface) > routes a marker-tagged variant through the preset pipeline, unmarked through the defaultUnitpassnot runnot runnot run
content preset dispatch (v3 config surface) > unknown preset on a variant errors listing the configured namesUnitpassnot runnot runnot run
escape_svelte / wrap_html > escapes backticks and ${ for {@html}Unitpassnot runnot runnot run
escape_svelte / wrap_html > wraps with class or leaves bareUnitpassnot runnot runnot run
markdown preset > exposes .svx / .md extensionsUnitpassnot runnot runnot run
markdown preset > normalize_shiki defaults to github dual themes + light-dark()Unitpassnot runnot runnot run
markdown preset > ogygiaPreprocess() returns an mdsvex preprocessorUnitpassnot runnot runnot run
prose dialect — remark/rehype passthrough > runs a user rehype plugin (adds an attribute to an element)Unitpassnot runnot runnot run
prose dialect — remark/rehype passthrough > runs a user remark plugin after the built-in passesUnitpassnot runnot runnot run
remarkHeadingId > strips {#id} into hProperties.idUnitpassnot runnot runnot run
scoped heading ids > de-dupes colliding scoped ids with a numeric suffixUnitpassnot runnot runnot run
scoped heading ids > joins the ancestor path for auto-slugged headingsUnitpassnot runnot runnot run
scoped heading ids > keeps an explicit {#id} verbatim and scopes its children under itUnitpassnot runnot runnot run
scoped heading ids > metadata.headings carries the SAME scoped idsUnitpassnot runnot runnot run
tab component injection (plain barrel) > ::: code-group injects the plain TabGroup + Tab barrel importUnitpassnot runnot runnot run
tab component injection (plain barrel) > an import inside a fenced code SAMPLE is not treated as a real import (Shiki escapes it)Unitpassnot runnot runnot run
tab component injection (plain barrel) > author import + ::: syntax → not double-injectedUnitpassnot runnot runnot run
tab component injection (plain barrel) > does not inject when no tab syntax is usedUnitpassnot runnot runnot run
tab component injection (plain barrel) > leaves an author's `import { TabGroup, Tab } from 'ogygia/content'` untouched (no upgrade)Unitpassnot runnot runnot run
tab component injection (plain barrel) > leaves sibling barrel specifiers untouched (no split)Unitpassnot runnot runnot run
packages/content/test/og-code.test.ts
dedent > blank lines do not constrain the common indentUnitpassnot runnot runnot run
dedent > empty / whitespace-only → emptyUnitpassnot runnot runnot run
dedent > leaves already-flush text aloneUnitpassnot runnot runnot run
dedent > strips common leading indentation and trims blank first/last linesUnitpassnot runnot runnot run
rewrite_code — md() > bakes a markdown string (dedented) and inlines og_html_regionUnitpassnot runnot runnot run
rewrite_code — md() > code() and md() coexist in one module; one import injectedUnitpassnot runnot runnot run
rewrite_code — md() > rejects an interpolated md() templateUnitpassnot runnot runnot run
rewrite_code — md() > rejects md() with wrong arityUnitpassnot runnot runnot run
rewrite_code > bakes a template-literal snippet, dedents it, and inlines og_html_regionUnitpassnot runnot runnot run
rewrite_code > ignores the marker in a comment or stringUnitpassnot runnot runnot run
rewrite_code > multiple snippets in one module all bake and the import injects onceUnitpassnot runnot runnot run
rewrite_code > rejects a non-literal langUnitpassnot runnot runnot run
rewrite_code > rejects an interpolated template source (build error)Unitpassnot runnot runnot run
rewrite_code > rejects wrong arityUnitpassnot runnot runnot run
rewrite_code > returns the same reference when there is nothing to doUnitpassnot runnot runnot run
rewrite_code > threads the meta infostring through as the third argUnitpassnot runnot runnot run
rewrite_code > works inside a .svelte <script> block; the import lands at the block top; prose untouchedUnitpassnot runnot runnot run
packages/content/test/region-emit.test.ts
try_region_emit > allows braces inside fence content (code is code)Unitpassnot runnot runnot run
try_region_emit > does not confuse digits in prose with fence tokensUnitpassnot runnot runnot run
try_region_emit > emits a serialized region for pure prose + fencesUnitpassnot runnot runnot run
try_region_emit > escapes prose braces to entities (text, not expressions — md is content)Unitpassnot runnot runnot run
try_region_emit > falls back only on instance scripts; inert tags stay contentUnitpassnot runnot runnot run
try_region_emit > handles a module with no module script (frontmatter-less md)Unitpassnot runnot runnot run
try_region_emit > JSON-escapes </script> in content so the module script cannot terminate earlyUnitpassnot runnot runnot run
try_region_emit > keeps extra module lines (the source self-import)Unitpassnot runnot runnot run
unescape_svelte > is the exact inverse of escape_svelteUnitpassnot runnot runnot run
unescape_svelte > round-trips real fence HTML through the embed codecUnitpassnot runnot runnot run
packages/content/test/region-store.test.ts
RegionStore > addresses are stable, input-sensitive, and version-sensitiveUnitpassnot runnot runnot run
RegionStore > carries the islands field when presentUnitpassnot runnot runnot run
RegionStore > namespaces are disjointUnitpassnot runnot runnot run
RegionStore > round-trips a serialized region under its namespaceUnitpassnot runnot runnot run
packages/content/test/regions.test.ts
region_key > is the basename verbatim, minus extension (no normalization)Unitpassnot runnot runnot run
rewrite_regions > globs the folder and emits raw-region imports + a basename-keyed objectUnitpassnot runnot runnot run
rewrite_regions > ignores the marker in a comment or stringUnitpassnot runnot runnot run
rewrite_regions > leaves a module with no regions() call untouched (same reference)Unitpassnot runnot runnot run
rewrite_regions > rejects a non-literal glob argumentUnitpassnot runnot runnot run
rewrite_regions > throws build-voice on a duplicate key (same basename in nested dirs)Unitpassnot runnot runnot run
packages/content/test/search-client.test.ts
SearchClient: a query is answered or rejected, never left waiting > a query the worker answersUnitpassnot runnot runnot run
SearchClient: a query is answered or rejected, never left waiting > a query the worker fails: rejected with the worker’s messageUnitpassnot runnot runnot run
SearchClient: a query is answered or rejected, never left waiting > an empty query is [] at once, in any stateUnitpassnot runnot runnot run
SearchClient: a query is answered or rejected, never left waiting > destroy() twice is the same as once (a manual destroy, then the palette’s unmount)Unitpassnot runnot runnot run
SearchClient: a query is answered or rejected, never left waiting > destroy(): waiting queries and later ones are rejected, the worker endsUnitpassnot runnot runnot run
SearchClient: a query is answered or rejected, never left waiting > the index fails to load: the queries waiting on it, and every query after, are rejectedUnitpassnot runnot runnot run
SearchClient: a query is answered or rejected, never left waiting > the worker crashes: waiting queries and later ones are rejectedUnitpassnot runnot runnot run
the search worker: a failed query is answered with its id > the index failed to build: a query is answered `error` with ITS idUnitpassnot runnot runnot run
the search worker: a failed query is answered with its id > the index failed to download once: the next query downloads it again and is answeredUnitpassnot runnot runnot run
packages/content/test/shiki-highlighters.test.ts
snippets, and highlights that alternate configs, do not make a highlighter each timeUnitpassnot runnot runnot run
two unnamed theme objects are two themesUnitpassnot runnot runnot run
packages/content/test/site.test.ts
address seams — group slug + trail scope > group `slug` drops a segment from the ADDRESS while nav/id keep structureUnitpassnot runnot runnot run
address seams — group slug + trail scope > trail: 'group' stops prev/next at the section boundary; 'site' crosses itUnitpassnot runnot runnot run
build_rss > emits sorted RSS 2.0 with absolutized linksUnitpassnot runnot runnot run
emissions — raw markdown (from entry.source) > entries() lists only slugs whose entry has source; unknown or source-less → 404Unitpassnot runnot runnot run
emissions — raw markdown (from entry.source) > keeps frontmatter when askedUnitpassnot runnot runnot run
emissions — raw markdown (from entry.source) > serves entry.source(), frontmatter stripped by defaultUnitpassnot runnot runnot run
emissions > llms.txt is an llmstxt.org index grouped by sectionUnitpassnot runnot runnot run
emissions > llms.txt renders top-level links under Pages and titles+summariesUnitpassnot runnot runnot run
emissions > sitemap honors an explicit origin (for prerendered output)Unitpassnot runnot runnot run
emissions > sitemap lists every leaf as an absolute URLUnitpassnot runnot runnot run
link audit > a link through redirect history is a warn (stale), not an errorUnitpassnot runnot runnot run
link audit > checks in load pass a clean page; self-anchor resolves against own headingsUnitpassnot runnot runnot run
link audit > checks in load throw on an error finding (build/dev failure)Unitpassnot runnot runnot run
link audit > links() check flags a missing page and a missing anchor; skips external + out-of-mountUnitpassnot runnot runnot run
mountBase > subtracts the slug from the pathnameUnitpassnot runnot runnot run
outline — build-time safety > errors on a slug collision across collectionsUnitpassnot runnot runnot run
outline — build-time safety > errors on an unknown pick idUnitpassnot runnot runnot run
outline — build-time safety > errors on orphan entries (fully manual, leftover)Unitpassnot runnot runnot run
outline — convention (bare collection) > applies the mount base to hrefs, slugs stay bareUnitpassnot runnot runnot run
outline — convention (bare collection) > groups by section, orders by NN-, titles from dataUnitpassnot runnot runnot run
outline — group label from the source groups() facet > overrides a section label via groups() (folder()/CMS supply it as data)Unitpassnot runnot runnot run
outline — multi-collection arrangement > arranges two collections with a base prefix and a linkUnitpassnot runnot runnot run
outline — multi-collection arrangement > glob pick expands in convention orderUnitpassnot runnot runnot run
outline — multi-collection arrangement > pick() places explicit ids in order; a bare remainder mops up the restUnitpassnot runnot runnot run
redirect history (redirect_from) > aliases resolve to their canonical slug; entries() includes themUnitpassnot runnot runnot run
redirect history (redirect_from) > an alias shadowing a live page is a build errorUnitpassnot runnot runnot run
redirect history (redirect_from) > load 308s an alias to the canonical URL (base by subtraction)Unitpassnot runnot runnot run
redirect history (redirect_from) > two entries claiming one old address is a build errorUnitpassnot runnot runnot run
rehypeOverrides (element → slot rewrite) > rewrites configured tags to the slot with a `tag` prop; leaves others aloneUnitpassnot runnot runnot run
remarkLinks collector > collects every markdown link with text and line into fm.linksUnitpassnot runnot runnot run
search — engine + brain (Orama) > orama_engine indexes docs and ranks a term matchUnitpassnot runnot runnot run
search — engine + brain (Orama) > site.emit.search() serializes the section documentsUnitpassnot runnot runnot run
search — engine + brain (Orama) > site.search() returns ranked hits with mount-based hrefs; scoping pre-filtersUnitpassnot runnot runnot run
search — projection > build_docs makes one document per section, with slug + anchorUnitpassnot runnot runnot run
search — projection > split_sections chunks by heading, aligned to collected headingsUnitpassnot runnot runnot run
search — projection > strip_prose removes frontmatter, code, tags, markdown syntaxUnitpassnot runnot runnot run
site — brains > doc() headings ride through from metaUnitpassnot runnot runnot run
site — brains > doc() returns null for an unknown slugUnitpassnot runnot runnot run
site — brains > doc() returns section, headings, and order-based trailUnitpassnot runnot runnot run
site — brains > entries() yields every leaf slug in reading orderUnitpassnot runnot runnot run
site — brains > prevNext "graph" prefers related, falls back to orderUnitpassnot runnot runnot run
packages/content/test/tabs.test.ts
code-group — basics > emits one Tab per fence, labelled from [label]Unitpassnot runnot runnot run
code-group — basics > keeps the code contentUnitpassnot runnot runnot run
code-group — basics > marks usedUnitpassnot runnot runnot run
code-group — basics > strips the [label] from the fence but keeps the languageUnitpassnot runnot runnot run
code-group — basics > wraps in a single <TabGroup>…</TabGroup>Unitpassnot runnot runnot run
code-group — fence robustness > ignores stray non-fence lines between blocksUnitpassnot runnot runnot run
code-group — fence robustness > respects fence length — a ``` inside a ```` block is content, not a closeUnitpassnot runnot runnot run
code-group — fence robustness > supports tilde fencesUnitpassnot runnot runnot run
code-group — fence robustness > tolerates an unclosed fence (runs to block end)Unitpassnot runnot runnot run
code-group — grouping / sync > defaults to a label-set key so identical sets syncUnitpassnot runnot runnot run
code-group — grouping / sync > honours an explicit group name on the openerUnitpassnot runnot runnot run
code-group — grouping / sync > two blocks with the same labels get the same auto groupUnitpassnot runnot runnot run
code-group — labels & languages > falls back to "Tab N" when a fence has no [label]Unitpassnot runnot runnot run
code-group — labels & languages > handles [label] before OR after the languageUnitpassnot runnot runnot run
code-group — labels & languages > handles a fence with only a [label] and no languageUnitpassnot runnot runnot run
code-group — labels & languages > supports labels with spacesUnitpassnot runnot runnot run
CRLF line endings > handles a lone-CR documentUnitpassnot runnot runnot run
CRLF line endings > is fence-aware under CRLF (a fenced == is content)Unitpassnot runnot runnot run
CRLF line endings > normalizes emitted output to LF (no stray carriage returns)Unitpassnot runnot runnot run
CRLF line endings > parses == markers written with CRLFUnitpassnot runnot runnot run
CRLF line endings > parses a code-group written with CRLFUnitpassnot runnot runnot run
escaping > escapes special characters in labelsUnitpassnot runnot runnot run
grouping — cross-block sync & isolation > an explicit name overrides the label-set keyUnitpassnot runnot runnot run
grouping — cross-block sync & isolation > different label sets get different code-group keysUnitpassnot runnot runnot run
grouping — cross-block sync & isolation > tabs blocks keep independent auto groups even when interleaved with code-groupsUnitpassnot runnot runnot run
has_tabs — prose false positives stay false > does not fire on prose mentioning the feature namesUnitpassnot runnot runnot run
has_tabs — prose false positives stay false > fires on a CRLF-terminated openerUnitpassnot runnot runnot run
has_tabs — prose false positives stay false > fires on a real opener even when buried mid-documentUnitpassnot runnot runnot run
has_tabs gate > detects code-group and tabs openersUnitpassnot runnot runnot run
has_tabs gate > does not fire the pass when absent (identity + used=false)Unitpassnot runnot runnot run
has_tabs gate > ignores unrelated contentUnitpassnot runnot runnot run
malformed / edge cases (never throws, always valid) > an empty code-group emits nothing and is not "used"Unitpassnot runnot runnot run
malformed / edge cases (never throws, always valid) > an empty tabs block emits nothingUnitpassnot runnot runnot run
malformed / edge cases (never throws, always valid) > does not treat "==" with no space as a markerUnitpassnot runnot runnot run
malformed / edge cases (never throws, always valid) > handles indented openers and markersUnitpassnot runnot runnot run
malformed / edge cases (never throws, always valid) > is a no-op on empty inputUnitpassnot runnot runnot run
malformed / edge cases (never throws, always valid) > never throws on a lone opener with nothing after itUnitpassnot runnot runnot run
malformed / edge cases (never throws, always valid) > never throws on a wall of bare fences and markersUnitpassnot runnot runnot run
malformed / edge cases (never throws, always valid) > never throws on adversarial fence/marker soupUnitpassnot runnot runnot run
malformed / edge cases (never throws, always valid) > never throws on only-whitespace or newline noiseUnitpassnot runnot runnot run
malformed / edge cases (never throws, always valid) > tolerates an unclosed block (runs to EOF)Unitpassnot runnot runnot run
malformed / edge cases (never throws, always valid) > tolerates extra whitespace around ::: and ==Unitpassnot runnot runnot run
mixed real-world document > collects labels across both blocks in orderUnitpassnot runnot runnot run
mixed real-world document > leaves the fenced code sample untouchedUnitpassnot runnot runnot run
mixed real-world document > never throws on the whole documentUnitpassnot runnot runnot run
mixed real-world document > preserves surrounding proseUnitpassnot runnot runnot run
mixed real-world document > produces balanced fences overallUnitpassnot runnot runnot run
mixed real-world document > transforms exactly the two real blocksUnitpassnot runnot runnot run
mixed real-world document > uses the label-set key and the explicit name respectivelyUnitpassnot runnot runnot run
multiple & mixed blocks > transforms several blocks in one documentUnitpassnot runnot runnot run
tabs — basics > drops content before the first == markerUnitpassnot runnot runnot run
tabs — basics > emits one Tab per == markerUnitpassnot runnot runnot run
tabs — basics > keeps each tab bodyUnitpassnot runnot runnot run
tabs — fence robustness > a ":::" inside a code fence does NOT close the block earlyUnitpassnot runnot runnot run
tabs — fence robustness > a "== ..." line inside a code fence is NOT a tab markerUnitpassnot runnot runnot run
tabs — grouping > auto-numbers independent groups per blockUnitpassnot runnot runnot run
tabs — grouping > honours an explicit group nameUnitpassnot runnot runnot run
top-level fences are never touched > ignores ::: tabs inside a ```` block that contains ``` runsUnitpassnot runnot runnot run
top-level fences are never touched > ignores a ::: code-group written inside a top-level fenceUnitpassnot runnot runnot run
well-formed output > emits balanced fences for a normal code-groupUnitpassnot runnot runnot run
well-formed output > synthesizes a closer for an unclosed code-group fenceUnitpassnot runnot runnot run
well-formed output > synthesizes a closer for an unclosed fence inside a tabs bodyUnitpassnot runnot runnot run
well-formed output > wraps each tab in exactly one <Tab>…</Tab>Unitpassnot runnot runnot run