Home / Function/ renderWithRootFolderContainingSpace() — astro Function Reference

renderWithRootFolderContainingSpace() — astro Function Reference

Architecture documentation for the renderWithRootFolderContainingSpace() function in render.test.js from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  d9a320fb_cfce_78d8_4c0d_17291a035d53["renderWithRootFolderContainingSpace()"]
  da471585_45ba_f17c_0b97_be541ed8900d["render.test.js"]
  d9a320fb_cfce_78d8_4c0d_17291a035d53 -->|defined in| da471585_45ba_f17c_0b97_be541ed8900d
  style d9a320fb_cfce_78d8_4c0d_17291a035d53 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/integrations/markdoc/test/render.test.js lines 180–186

function renderWithRootFolderContainingSpace(html) {
	const { document } = parseHTML(html);
	const h2 = document.querySelector('h2');
	assert.equal(h2.textContent, 'Simple post with root folder containing a space');
	const p = document.querySelector('p');
	assert.equal(p.textContent, 'This is a simple Markdoc post with root folder containing a space.');
}

Domain

Subdomains

Frequently Asked Questions

What does renderWithRootFolderContainingSpace() do?
renderWithRootFolderContainingSpace() is a function in the astro codebase, defined in packages/integrations/markdoc/test/render.test.js.
Where is renderWithRootFolderContainingSpace() defined?
renderWithRootFolderContainingSpace() is defined in packages/integrations/markdoc/test/render.test.js at line 180.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free