Tests / @ogygia/content

@ogygia/content

Version 0.14.0 latest
commit 620ddcca
736 test runs (736 tests, each run in Node, the browsers or both)
0.86× lines of test for each line of source (10,124 to 11,724) 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)
92.6% of source lines run by the tests
  • 677Unit
  • 57Browser
  • 2End to end
  • 0Type tests
  • 0Lint rules
  • 0Failing

Coverage

  • 92.6%Lines
  • 81.0%Branches
  • 86.3%Functions
  • 90.3%Statements

Every test

736 tests

TestKindNodeChromiumFirefoxWebKit
packages/content/e2e/content-css.spec.ts
browser: the body's scoped <style> is loaded and appliedEnd to endnot runpasspasspass
SSR: the content body emits its own CSS as <link data-ogygia-region-css> (og-content.*.css)End to endnot runpasspasspass
packages/content/test/blocks-render.test.ts
Blocks > leaves out a block whose type is not in the registry, and keeps the restUnitpassnot runnot runnot run
Blocks > renders an already-resolved `nodes` list the same, with no registryUnitpassnot runnot runnot run
Blocks > renders each block of a tree through its registry entry, children inside their parentUnitpassnot runnot runnot run
Blocks > takes `nodes` over `tree` when both are givenUnitpassnot runnot runnot run
Blocks > takes a single node, and renders nothing for no treeUnitpassnot runnot runnot run
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/blog-dates.test.ts
blog dates > shows the post's own day in the list and the post when the server is in America/Los_AngelesUnitpassnot runnot runnot run
blog dates > shows the post's own day in the list and the post when the server is in Pacific/KiritimatiUnitpassnot runnot runnot run
blog dates > shows the post's own day in the list and the post when the server is in UTCUnitpassnot runnot runnot run
packages/content/test/blog-list-flat.test.ts
BlogList flat order > keeps the given order when group is falseUnitpassnot runnot runnot run
BlogList flat order > still lists newest first when groupedUnitpassnot runnot runnot run
packages/content/test/blog-list.test.ts
BlogList > draws a card with the date, title, summary, author and tagsUnitpassnot runnot runnot run
BlogList > groups the posts under a heading per year by defaultUnitpassnot runnot runnot run
BlogList > lets the item snippet draw each postUnitpassnot runnot runnot run
BlogList > lists the posts newest first, equal dates in the order givenUnitpassnot runnot runnot run
packages/content/test/blog-post.test.ts
BlogPost > falls back to the slug for the titleUnitpassnot runnot runnot run
BlogPost > links back to the index only when given backUnitpassnot runnot runnot run
BlogPost > links the previous and next post, and has no pager without themUnitpassnot runnot runnot run
BlogPost > renders the footer snippet after the postUnitpassnot runnot runnot run
BlogPost > shows the dateline, title, summary and tags from the post dataUnitpassnot runnot runnot run
BlogPost > writes the title, with the site title, and the post facts into the headUnitpassnot runnot runnot run
packages/content/test/blog-shell.test.ts
BlogShell > draws the brand snippet in place of the titleUnitpassnot runnot runnot run
BlogShell > links the brand to the blog root taken from the page, or the base propUnitpassnot runnot runnot run
BlogShell > puts the brand, links, theme toggle and actions in the headerUnitpassnot runnot runnot run
BlogShell > renders the page in one main column, with no sidebar, without a siteUnitpassnot runnot runnot run
BlogShell > shows the search only when askedUnitpassnot runnot runnot run
packages/content/test/bottom-bar.test.ts
BottomBar > holds lead in its lead slot and actions in its actions slotUnitpassnot runnot runnot run
BottomBar > is a nav labelled Site unless given a labelUnitpassnot 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/on-this-page.test.ts
OnThisPage > lets go of the window when it unmounts: a scroll after moves nothingBrowsernot runpasspasspass
OnThisPage > links the title to the page's own path, the same as on the serverBrowsernot runpasspasspass
OnThisPage > marks the first heading on a short page where none crossed the fold lineBrowsernot runpasspasspass
OnThisPage > marks the last heading above the fold line, in its list and in the static outlineBrowsernot runpasspasspass
OnThisPage > marks the last heading at the very bottom of the pageBrowsernot runpasspasspass
packages/content/test/browser/roving.test.ts
roving > a horizontal surface moves with Left and Right, not Up and DownBrowsernot runpasspasspass
roving > a key pressed while focus is not on an item is left aloneBrowsernot runpasspasspass
roving > arrows, Home and End move focus and the tab stop; the ends wrap unless loop is offBrowsernot runpasspasspass
roving > Enter is not handled: activating an item stays nativeBrowsernot runpasspasspass
roving > the current item is the one tab stop, else the firstBrowsernot 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
the search palette > does not query a term typed just before the field goes awayBrowsernot runpasspasspass
the search palette > does not show the failure of a term the visitor already typed pastBrowsernot runpasspasspass
the search palette > keeps one disabled option in the listbox when there is nothing to showBrowsernot runpasspasspass
the search palette > queries once for the last term typed in a quick burstBrowsernot runpasspasspass
the search palette > shows the search as unavailable when its index does not loadBrowsernot runpasspasspass
the search palette > starts its worker client when it mounts, with its base and limit, and stops it on unmountBrowsernot runpasspasspass
the search palette > starts no worker client for a custom query backendBrowsernot runpasspasspass
packages/content/test/browser/search.test.ts
a kept search > follows a new base: its link goes to the new base’s search pageBrowsernot runpasspasspass
Search > in a sheet, mounts the palette at once and leaves the keys to the pageBrowsernot runpasspasspass
Search > leaves a slash typed in a text field or an editor aloneBrowsernot runpasspasspass
Search > opens the palette on Ctrl+KBrowsernot runpasspasspass
Search > renders a real link to the search page, and loads no palette before an intentBrowsernot runpasspasspass
packages/content/test/browser/sheet.test.ts
Sheet > opens as a dialog labelled Menu with the children and the footerBrowsernot runpasspasspass
Sheet > stays open on a press of the sheet toggle outside it, and closes on any otherBrowsernot runpasspasspass
Sheet > takes its label from labelBrowsernot runpasspasspass
packages/content/test/browser/shell-bar.test.ts
a link picked in the mobile sheet > closes the sheet on a plain clickBrowsernot runpasspasspass
a link picked in the mobile sheet > keeps it open on a modifier or middle click, a new-tab or download link, or a prevented clickBrowsernot runpasspasspass
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 a switch in flight when it unmountsBrowsernot runpasspasspass
the mobile bar switches its sheet between views > lets go of the pinned height when no glide runsBrowsernot runpasspasspass
the mobile bar switches its sheet between views > swaps at once under reduced motion: no height is pinnedBrowsernot runpasspasspass
the mobile bar switches its sheet between views > switches between the nav and search views without closing the sheetBrowsernot runpasspasspass
packages/content/test/browser/sidebar.test.ts
the sidebar draws the nav tree > draws each leaf with the item snippet when one is givenBrowsernot runpasspasspass
the sidebar draws the nav tree > gives every row its own view-transition name, a valid identifierBrowsernot runpasspasspass
the sidebar draws the nav tree > nests a group, links a leaf, and passes a plain link throughBrowsernot runpasspasspass
the sidebar keeps its scroll position > a kept sidebar given a new base saves under the new baseBrowsernot runpasspasspass
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
the sidebar shows the active row > centers the active row in the panel when it starts out of viewBrowsernot runpasspasspass
the sidebar shows the active row > moves only the panel, never the pageBrowsernot runpasspasspass
packages/content/test/browser/switcher.test.ts
Switcher > lists the options as one radio choice, the current one checkedBrowsernot runpasspasspass
Switcher > navigates to the chosen optionBrowsernot runpasspasspass
Switcher > shows one menu per axis, with its current valueBrowsernot runpasspasspass
Switcher > shows only the axes asked forBrowsernot runpasspasspass
packages/content/test/browser/tab-group-island.test.ts
TabGroupIsland > a choice in one block moves every block of the same group, and is savedBrowsernot runpasspasspass
TabGroupIsland > builds the bar from the panels' own labels, above the panelsBrowsernot runpasspasspass
TabGroupIsland > keeps the same bar and marker across a selectionBrowsernot runpasspasspass
TabGroupIsland > moves focus with the arrows without selecting; a click selectsBrowsernot runpasspasspass
TabGroupIsland > starts on the choice saved by an earlier pageBrowsernot runpasspasspass
packages/content/test/browser/theme-toggle.test.ts
ThemeToggle > cycles system, light, dark, system and keeps the choice in localStorageBrowsernot runpasspasspass
ThemeToggle > flips at once, with no View Transition, under reduced motionBrowsernot runpasspasspass
ThemeToggle > flips inside a View Transition and marks the root until it endsBrowsernot runpasspasspass
ThemeToggle > keeps the choice under its own keyBrowsernot runpasspasspass
ThemeToggle > still flips the theme when storage refusesBrowsernot 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/containers.test.ts
a container > `details` is a collapsible <details> with a <summary> titleUnitpassnot runnot runnot run
a container > inside fenced code is left as it is, whichever fence holds itUnitpassnot runnot runnot run
a container > nested containers close in order; an open one the author never closed is closed at the endUnitpassnot runnot runnot run
a container > of an alias kind is styled as the kind it folds onto, under its own labelUnitpassnot runnot runnot run
a container > written tight (no blank lines) still gets blank lines around its body, so Markdown renders insideUnitpassnot runnot runnot run
a container title > holding { } stays text: Svelte never reads it as an expression (#469)#469Unitpassnot runnot runnot run
a container title > holding markup characters stays textUnitpassnot runnot runnot run
a container title > with none falls back to the kind’s labelUnitpassnot runnot runnot run
packages/content/test/content-config-order.test.ts
content() and the svelte config > content() first, then the svelte config: markdown is onUnitpassnot runnot runnot run
content() and the svelte config > markdown on, after the svelte config read its extensions: content() says so by codeUnitpassnot runnot runnot run
content() and the svelte config > no markdown: an early read is right, and content() lets it beUnitpassnot runnot runnot run
content() and the svelte config > the same for the preprocessorUnitpassnot runnot runnot run
packages/content/test/content-leaks.test.ts
the content-leak guardrail, in the content plugin > a compiled document in a client chunk is reported with its path, its CSS face is notUnitpassnot runnot runnot run
the content-leak guardrail, in the content plugin > the server leg, a dev server and a clean client bundle say nothingUnitpassnot 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 contributor replaced by a dev reload (same size, same stamps) gives its own backlinks, not the old one’sUnitpassnot 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 > a glob key whose id climbs out, or repeats another, is refused as the source is madeUnitpassnot runnot runnot run
format source-builders > a module of the wrong shape is refused with the code that names itUnitpassnot runnot runnot run
format source-builders > a schema whose parse throws fails with its words; one with no parse at all is unsupportedUnitpassnot 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 yaml as invalid frontmatter, naming what the parser stopped atUnitpassnot 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#247Unitskipnot 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 — relations, aliases and failures > a default value written in the URL is not peeled as a coordinateUnitpassnot runnot runnot run
dimensions — relations, aliases and failures > a resolve that throws at once is not kept: the next page buildsUnitpassnot runnot runnot run
dimensions — relations, aliases and failures > an entry's slug carries the prefix of the coordinate that places itUnitpassnot 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 — search > indexes the default coordinate only: a fallback page is never a second hitUnitpassnot 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's home page, 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/doc-keep-reading.test.ts
Doc keepReading > shows no keep reading block when keepReading is emptyUnitpassnot runnot runnot run
Doc keepReading > shows no keep reading block when suggested is offUnitpassnot runnot runnot run
Doc keepReading > shows the keepReading refs instead of the trail suggested refs when setUnitpassnot runnot runnot run
Doc keepReading > shows the trail suggested refs when keepReading is not setUnitpassnot runnot runnot run
packages/content/test/doc.test.ts
Doc > leaves the breadcrumb trail out unless asked forUnitpassnot runnot runnot run
Doc > titles the document "Page — Site" when the shell names a site, else the page aloneUnitpassnot runnot runnot run
packages/content/test/docs-shell.test.ts
DocsShell regions > drops the header when the prop is passed as undefined, as it does for nullUnitpassnot runnot runnot run
DocsShell regions > renders the built-in header when the prop is absentUnitpassnot runnot runnot run
DocsShell styling is opt-in > imports no stylesheet and carries no styles of its ownUnitpassnot 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/fence-escaping.test.ts
a fence that tries to break out of an attribute > a `$` pattern in the language or id is placed as written, never expandedUnitpassnot runnot runnot run
a fence that tries to break out of an attribute > a file name's markup characters are escaped in data-file, as in any attributeUnitpassnot runnot runnot run
a fence that tries to break out of an attribute > a language with a quote and markup stays inside data-langUnitpassnot runnot runnot run
a fence that tries to break out of an attribute > a permalink id with a quote and markup stays inside idUnitpassnot runnot runnot run
a fence that tries to break out of an attribute > any language, id and file name stay inside their attributes and read back as themselvesUnitpassnot runnot runnot run
packages/content/test/fields.test.ts
fields.page > a page with no title is an issue, not a throwUnitpassnot runnot runnot run
fields.page > keeps the page fields, fills their defaults, and drops anything elseUnitpassnot runnot runnot run
packages/content/test/frame-nav.test.ts
Frame nav tree > asks the site for the nav tree once for the default sidebarUnitpassnot runnot runnot run
Frame nav tree > does not ask the site for the nav tree when the sidebar is removedUnitpassnot runnot runnot run
Frame nav tree > does not ask the site for the nav tree when the sidebar is replacedUnitpassnot runnot runnot run
packages/content/test/frame.test.ts
Frame > has no header or footer unless given oneUnitpassnot runnot runnot run
Frame > renders the site nav tree in the default sidebarUnitpassnot runnot runnot run
Frame > replaces the sidebar with a component, and removes it for false or nullUnitpassnot runnot runnot run
Frame > sets the shell context: the site, and the mount base taken from the pageUnitpassnot runnot runnot run
Frame > starts with a skip link to the main landmarkUnitpassnot runnot runnot run
Frame > uses the base prop over the one taken from the pageUnitpassnot runnot runnot run
packages/content/test/frontmatter-errors.test.ts
invalid frontmatter is reported once > a block the parser itself calls invalid is said once, not wrapped in a second invalid-frontmatter errorUnitpassnot runnot runnot run
invalid frontmatter is reported once > a tab indent: content_frontmatter_invalid with one [ogygia] prefix and one link, naming what the parser stopped atUnitpassnot runnot runnot run
invalid frontmatter is reported once > an empty key: content_frontmatter_invalid with one [ogygia] prefix and one link, naming what the parser stopped atUnitpassnot runnot runnot run
packages/content/test/frontmatter-flow.test.ts
flow sequences > a bracket or brace inside a plain item is the frontmatter error, as YAML rejects it (#620)#620Unitpassnot runnot runnot run
flow sequences > a bracketed phrase is a one-item list, as YAML reads it; quoted, it stays a stringUnitpassnot runnot runnot run
flow sequences > a nested list as its own item parses, as YAML reads itUnitpassnot runnot runnot run
flow sequences > a value that only starts with a bracketed part (a markdown link) stays textUnitpassnot runnot runnot run
flow sequences > one quoted item, one nested list, and many itemsUnitpassnot runnot runnot run
flow sequences > several bracket groups in a row (a reference link) stay text, not the first group as a listUnitpassnot runnot runnot run
flow sequences > tags: [svelte] is a one-item listUnitpassnot runnot runnot run
packages/content/test/frontmatter.test.ts
parse_yaml — a `__proto__` key is a plain key > block map: it is the object's own key, never its prototypeUnitpassnot runnot runnot run
parse_yaml — a `__proto__` key is a plain key > flow map: it is the object's own key, never its prototypeUnitpassnot runnot runnot run
parse_yaml — a `__proto__` key is a plain key > quoted key: it is the object's own key, never its prototypeUnitpassnot runnot runnot run
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 > 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
parse_yaml — the rest of the supported subset > # inside a single-quoted value or a flow collection is NOT a commentUnitpassnot runnot runnot run
parse_yaml — the rest of the supported subset > a byte order mark before the first line is droppedUnitpassnot runnot runnot run
parse_yaml — the rest of the supported subset > a colon inside a single-quoted key does not split itUnitpassnot runnot runnot run
parse_yaml — the rest of the supported subset > a second document after an inner --- is not readUnitpassnot runnot runnot run
parse_yaml — the rest of the supported subset > an empty key is rejected with its lineUnitpassnot runnot runnot run
parse_yaml — the rest of the supported subset > an explicit indent indicator (|1) keeps the spaces past itUnitpassnot runnot runnot run
parse_yaml — the rest of the supported subset > anchors, aliases, tags and merge keys stay plain textUnitpassnot runnot runnot run
parse_yaml — the rest of the supported subset > chomping: |+ keeps the trailing blank lines, >- strips the last newlineUnitpassnot runnot runnot run
parse_yaml — the rest of the supported subset > double-quoted escapes: \r \0 \b \f \/Unitpassnot runnot runnot run
parse_yaml — the rest of the supported subset > nests at any consistent indent width (four spaces)Unitpassnot runnot runnot run
parse_yaml — the rest of the supported subset > only a top-level : makes a flow mapping (a nested one stays text)Unitpassnot runnot runnot run
parse_yaml — the rest of the supported subset > typed plain scalars: .inf, .nan, hex 0x, octal 0o, null casingsUnitpassnot runnot runnot run
parseFrontmatter > a byte order mark before the fence is droppedUnitpassnot runnot runnot run
parseFrontmatter > a parse failure is reported as invalid frontmatter, with the reasonUnitpassnot runnot runnot run
parseFrontmatter > frontmatter that is a list or a scalar gives no dataUnitpassnot runnot runnot run
parseFrontmatter > no closing fence: no data, the whole text is the bodyUnitpassnot runnot runnot run
parseFrontmatter > no opening fence: no data, the whole text is the bodyUnitpassnot runnot runnot run
the markdown preprocessor reads frontmatter with parse_yaml, not js-yaml > frontmatter that is a list gives no fieldsUnitpassnot runnot runnot run
the markdown preprocessor reads frontmatter with parse_yaml, not js-yaml > no stays a string and {@const} stays the titleUnitpassnot 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) > one an ended run builds later (a lazy content() call) is out of the graph until read#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 dimensioned site: a page the default coordinate's live source adds is found by the next search#193Unitpassnot 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
the outline is stamped with the content it read, never a newer version (#326) > the first read of a collection not yet loaded weaves once: its load is not a change#326Unitpassnot runnot runnot run
packages/content/test/link.test.ts
Link > leaves an unknown address as writtenUnitpassnot runnot runnot run
Link > passes a bare href through outside a shellUnitpassnot runnot runnot run
Link > passes absolute, external, anchor and relative hrefs through without asking the siteUnitpassnot runnot runnot run
Link > resolves a bare href through the site under the shell base, keeping its fragmentUnitpassnot runnot runnot run
Link > resolves an old address to its pageUnitpassnot runnot runnot run
packages/content/test/live-stamp.test.ts
a live remote never misses an edit made while its first value is read (#551) > live.get: an edit that lands as the first snapshot is taken still reaches the client#551Unitpassnot runnot runnot run
a live remote never misses an edit made while its first value is read (#551) > live.list: an edit that lands as the first snapshot is taken still reaches the client#551Unitpassnot 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-bits.test.ts
code(): a snippet rendered at build time > renders the same code html as the same fence in a markdown document, but for its code idUnitpassnot runnot runnot run
md(): a markdown string rendered at build time > content that compiles to something dynamic is a build errorUnitpassnot runnot runnot run
md(): a markdown string rendered at build time > renders static prose to htmlUnitpassnot runnot runnot run
remarkLinks > collects every markdown link, whatever it points at; raw <a> html is not a link nodeUnitpassnot 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
prose dialect — remark/rehype passthrough > takes a plugin with its own this, a plugin with options, and a unified presetUnitpassnot runnot runnot run
remarkHeadingId > strips {#id} into hProperties.idUnitpassnot runnot runnot run
scoped heading ids > a heading with inline code shows its braces in metadata.headings, not entitiesUnitpassnot runnot runnot run
scoped heading ids > an explicit {#id} reserves it: a later heading that slugs to it gets a suffixUnitpassnot 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/messages-runtime.test.ts
content runtime messages > a prerender of a production build prints the wording, then the pageUnitpassnot runnot runnot run
content runtime messages > a production browser bundle has no wording to print, even while prerenderingUnitpassnot runnot runnot run
content runtime messages > a production request prints the page aloneUnitpassnot 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/pager.test.ts
Pager > keeps a lone next link in the second cellUnitpassnot runnot runnot run
Pager > labels the links Previous and Next by defaultUnitpassnot runnot runnot run
Pager > links the previous and next page with their labels and titlesUnitpassnot runnot runnot run
Pager > renders nothing without a previous or next pageUnitpassnot runnot runnot run
packages/content/test/property-frontmatter.test.ts
frontmatter > a flat map of plain keys to quoted strings, numbers and booleans reads back as writtenUnitpassnot runnot runnot run
frontmatter > any text reads, or is refused with content_frontmatter_invalid onlyUnitpassnot runnot runnot run
frontmatter > deep nesting is read or refused, never a stack overflowUnitpassnot runnot runnot run
packages/content/test/property-search-excerpt.test.ts
search excerpt > marks only text: no other markup, and without the marks it is the escaped textUnitpassnot runnot runnot run
packages/content/test/region-emit.test.ts
the module script, in any spelling > <script context='module'> is the module, not the templateUnitpassnot runnot runnot run
the module script, in any spelling > <script context="module"> is the module, not the templateUnitpassnot runnot runnot run
the module script, in any spelling > <script context=module> is the module, not the templateUnitpassnot runnot runnot run
the module script, in any spelling > <script data-note="a>b" module> is the module, not the templateUnitpassnot runnot runnot run
the module script, in any spelling > <script lang="ts" context = "module"> is the module, not the templateUnitpassnot runnot runnot run
the module script, in any spelling > <script module> is the module, not the templateUnitpassnot runnot runnot run
the module script, in any spelling > a `<script>` written in a comment is no instance script: the page is still a regionUnitpassnot runnot runnot run
the module script, in any spelling > a browser script is not the module: `type="module"` and `data-module` keep the component pathUnitpassnot runnot runnot run
the module script, in any spelling > a script that only says module in a value is not the moduleUnitpassnot runnot runnot run
try_region_emit > a fence with backticks, backslashes and `${` lands in the region exactly as highlightedUnitpassnot runnot runnot run
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
try_region_emit > reads a Svelte 5 `<script module>` as the module script, as it does `context="module"`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/remotes.test.ts
withRemotes() > a value that is not a content() handle is refused with its codeUnitpassnot runnot runnot run
withRemotes() > list is a query by default for a source that reads at request timeUnitpassnot runnot runnot run
withRemotes() > list prerenders a static source, with dynamic on by defaultUnitpassnot runnot runnot run
withRemotes() > live.get answers null for a missing id unless notFound says otherwiseUnitpassnot runnot runnot run
packages/content/test/render-md.test.ts
md() component tags > a component tag inside inline code or a fence is text, not an errorUnitpassnot runnot runnot run
md() component tags > a component tag is a coded build error: "# Title\n\n<Widget label=\"x\" />\n"Unitpassnot runnot runnot run
md() component tags > a component tag is a coded build error: "<Foo />"Unitpassnot runnot runnot run
md() component tags > a component tag is a coded build error: "<Foo>child</Foo>"Unitpassnot runnot runnot run
md() component tags > a component tag is a coded build error: "<ui.Button />"Unitpassnot runnot runnot run
md() component tags > a component tag is a coded build error: "Some prose, then <Foo /> inline."Unitpassnot runnot runnot run
md() component tags > plain html tags and prose stay staticUnitpassnot runnot runnot run
packages/content/test/search-client.test.ts
SearchClient: a query is answered or rejected, never left waiting > a client destroyed, or failed, before its index loads leaves no unhandled rejection when nothing awaits readyUnitpassnot runnot runnot run
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 > a newer load replaces the index a waiting query was going to read: it is answered from the new oneUnitpassnot 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/search-page.test.ts
SearchPage > counts one result in the singularUnitpassnot runnot runnot run
SearchPage > is a GET form that sends the term as q, to the current URL unless given an actionUnitpassnot runnot runnot run
SearchPage > lists nothing and counts nothing before a term is givenUnitpassnot runnot runnot run
SearchPage > renders each hit on the server: a link with its title, heading, excerpt and sectionUnitpassnot runnot runnot run
SearchPage > says there are no results for a term that found noneUnitpassnot runnot runnot run
SearchPage > shows the title and placeholder, Search and Search the docs… by defaultUnitpassnot 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-checks.test.ts
links() check > a page with no links property is warned about once and passes; links: [] is link dataUnitpassnot runnot runnot run
links() check > a relative link (a colocated asset) is not judgedUnitpassnot runnot runnot run
packages/content/test/site-context.test.ts
a site context that throws > a context that answers reports nothingUnitpassnot runnot runnot run
a site context that throws > serves the public projection and reports content_site_context_failed with the thrown errorUnitpassnot runnot runnot run
packages/content/test/site-emit.test.ts
emissions over a nested nav tree > llms.txt flattens a nested group into its section, with summaries and plain linksUnitpassnot runnot runnot run
emissions over a nested nav tree > the sitemap lists the leaves of nested groups, as absolute URLsUnitpassnot runnot runnot run
packages/content/test/site-reads.test.ts
a site read per request > a context that throws reads the public projectionUnitpassnot runnot runnot run
a site read per request > a page whose meta has no headings has noneUnitpassnot runnot runnot run
a site read per request > an emission handler is a Kit GET handler (it takes Kit's RequestEvent)Unitpassnot runnot runnot run
a site read per request > load and entries work detached from the site, as a route file destructures themUnitpassnot runnot runnot run
a site read per request > load reads the page in the context the request derives (a draft under preview)Unitpassnot runnot runnot run
a site read per request > prevNext 'order' suggests the next page, false suggests nothingUnitpassnot runnot runnot run
a site’s remotes > a page crosses without its source reader, and with its body awaitedUnitpassnot runnot runnot run
a site’s remotes > nav and meta serve the coordinate the slug names; no slug is the defaultUnitpassnot runnot runnot run
packages/content/test/site-slot.test.ts
SiteSlot > lets the site's own `a` win over the default LinkUnitpassnot runnot runnot run
SiteSlot > renders `a` through Link by default, so a slug-form href resolves under the baseUnitpassnot runnot runnot run
SiteSlot > renders the component the site maps the tag to, with its attributes and childrenUnitpassnot runnot runnot run
SiteSlot > renders the plain element when nothing maps the tagUnitpassnot 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 glob pick that matches nothingUnitpassnot 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
outline — placement and addresses > a directory with its own page leads its group with that pageUnitpassnot runnot runnot run
outline — placement and addresses > a group base with stray slashes still makes a clean slugUnitpassnot runnot runnot run
outline — placement and addresses > a link keeps its own href under any mount baseUnitpassnot runnot runnot run
outline — placement and addresses > a nested group without a `slug` takes the enclosing group's address policyUnitpassnot runnot runnot run
outline — placement and addresses > an entry an earlier item placed is skipped by a later pick, not placed twiceUnitpassnot runnot runnot run
outline — placement and addresses > an entry's old address joins its group's base, like its own slugUnitpassnot runnot runnot run
outline — placement and addresses > one weave per read context: readers at once share it, a later reader keeps itUnitpassnot runnot runnot run
outline — placement and addresses > siblings follow their order; with no order they go by idUnitpassnot runnot runnot run
outline — placement and addresses > the read context reaches the collection filter: a draft is placed only under previewUnitpassnot 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 builds and finds two documents that share an idUnitpassnot runnot runnot run
search — engine + brain (Orama) > orama_engine indexes docs and ranks a term matchUnitpassnot runnot runnot run
search — engine + brain (Orama) > orama_engine: a page whose title is the query answers first even when the engine ranks its section above itUnitpassnot runnot runnot run
search — engine + brain (Orama) > orama's insert answers at once for the engine's schema, so a build's index is whole before its first queryUnitpassnot runnot runnot run
search — engine + brain (Orama) > rerank: a hit whose title carries the query outranks a higher-scored body matchUnitpassnot runnot runnot run
search — engine + brain (Orama) > rerank: of two hits whose title carries the query, the page itself outranks its sectionUnitpassnot 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 > a page with two heading-less sections is one document holding both, never two with one idUnitpassnot 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 keeps the words the browser shows, whatever the tags holdUnitpassnot 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/sources.test.ts
blocks() > a JSON module wrapped in a default export is unwrappedUnitpassnot runnot runnot run
blocks() > reads a bare array, a { blocks, meta } page, a { blocks, data } page and a single nodeUnitpassnot runnot runnot run
content() > a self relation resolves to the handle itselfUnitpassnot runnot runnot run
content() > data is typed by the schema, and by every layer of a schema arrayUnitpassnot runnot runnot run
content() > the handle reaches its collection: withRemotes accepts itUnitpassnot runnot runnot run
defineSource refs > a ref carries neither body nor source, even when the format makes bothUnitpassnot runnot runnot run
folder() > a +meta.json wrapped in a default export is unwrappedUnitpassnot runnot runnot run
folder() > a file that is neither a page nor a sidecar fails at constructionUnitpassnot runnot runnot run
folder() > a lazy +meta.json is not loaded until the first readUnitpassnot runnot runnot run
folder() > an index.md sidecar wins over a page pattern that also matches it, and its title is the labelUnitpassnot runnot runnot run
folder() > bad numbering fails the first read, not constructionUnitpassnot runnot runnot run
glob() > drops one extension only: a dotted name keeps its dotsUnitpassnot runnot runnot run
markdown() > a module with its own styles threads its CSS key onto the body (baked or not)Unitpassnot runnot runnot run
markdown() > a region-emitted module bakes its HTML into the bodyUnitpassnot runnot runnot run
packages/content/test/tab-groups.test.ts
tab groups > hydrate_group restores a saved choice, else the fallback, and never replaces a choice made this sessionUnitpassnot runnot runnot run
tab groups > two blocks of one group share the choice, and the choice is savedUnitpassnot runnot runnot run
tab groups > with storage blocked, choosing and restoring still work in memoryUnitpassnot runnot runnot run
packages/content/test/tab.test.ts
Tab > renders a tab panel that carries its label in data-labelUnitpassnot runnot runnot run
TabGroup > hands its group and its panels to the islandUnitpassnot runnot runnot run
TabGroup > uses the "tabs" group when none is givenUnitpassnot runnot runnot run
packages/content/test/tabs.test.ts
a fence keeps its identity through the rewrite (#1146) > a ``` line whose info holds a backtick is no fence (CommonMark), so it hides no marker#1146Unitpassnot runnot runnot run
a fence keeps its identity through the rewrite (#1146) > an info string that starts with the fence character is not merged into the fence run#1146Unitpassnot runnot runnot run
a fence keeps its identity through the rewrite (#1146) > no tab wrapper is ever written inside a code fence#1146Unitpassnot runnot runnot run
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 > a label or group holding { } stays text: Svelte never reads it as an expression (#469)#469Unitpassnot 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