renderSimpleChecks() — astro Function Reference
Architecture documentation for the renderSimpleChecks() function in render.test.js from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 35899c54_1a33_d2b3_f408_a1c7dd59a602["renderSimpleChecks()"] da471585_45ba_f17c_0b97_be541ed8900d["render.test.js"] 35899c54_1a33_d2b3_f408_a1c7dd59a602 -->|defined in| da471585_45ba_f17c_0b97_be541ed8900d style 35899c54_1a33_d2b3_f408_a1c7dd59a602 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/integrations/markdoc/test/render.test.js lines 171–177
function renderSimpleChecks(html) {
const { document } = parseHTML(html);
const h2 = document.querySelector('h2');
assert.equal(h2.textContent, 'Simple post');
const p = document.querySelector('p');
assert.equal(p.textContent, 'This is a simple Markdoc post.');
}
Domain
Subdomains
Source
Frequently Asked Questions
What does renderSimpleChecks() do?
renderSimpleChecks() is a function in the astro codebase, defined in packages/integrations/markdoc/test/render.test.js.
Where is renderSimpleChecks() defined?
renderSimpleChecks() is defined in packages/integrations/markdoc/test/render.test.js at line 171.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free