renderComponentsInsidePartialsChecks() — astro Function Reference
Architecture documentation for the renderComponentsInsidePartialsChecks() function in render-components.test.js from the astro codebase.
Entity Profile
Dependency Diagram
graph TD c691d122_a517_b373_e05b_26b19aa0b261["renderComponentsInsidePartialsChecks()"] 9880f942_9263_e3fc_e0e1_3673a9ac7add["render-components.test.js"] c691d122_a517_b373_e05b_26b19aa0b261 -->|defined in| 9880f942_9263_e3fc_e0e1_3673a9ac7add style c691d122_a517_b373_e05b_26b19aa0b261 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/integrations/markdoc/test/render-components.test.js lines 85–94
function renderComponentsInsidePartialsChecks(html) {
const { document } = parseHTML(html);
// renders Counter.tsx
const button = document.querySelector('#counter');
assert.equal(button.textContent, '1');
// renders DeeplyNested.astro
const deeplyNested = document.querySelector('#deeply-nested');
assert.equal(deeplyNested.textContent, 'Deeply nested partial');
}
Domain
Subdomains
Source
Frequently Asked Questions
What does renderComponentsInsidePartialsChecks() do?
renderComponentsInsidePartialsChecks() is a function in the astro codebase, defined in packages/integrations/markdoc/test/render-components.test.js.
Where is renderComponentsInsidePartialsChecks() defined?
renderComponentsInsidePartialsChecks() is defined in packages/integrations/markdoc/test/render-components.test.js at line 85.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free