Tests must move with the architecture:
- Do not test
render_mermaid_block() as a private helper called from Markdown.
- Test that enabling
builtin:mermaid registers a mermaid fence and rendering
a Mermaid fence returns Mermaid HTML.
- Test that disabling
builtin:mermaid makes a Mermaid fence follow the
configured unknown-fence behavior.
- Do not test
theme_from_toml("foo") by importing a per-theme module.
- Test that enabling
builtin:theme_selector resolves a theme id to asset
bundles and CSS variables.
- Do not test bookmarks through search/tree internals.
- Test that enabling bookmarks registers storage namespace
bookmarks, route
providers, row decorators, and toolbar actions.