We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a way to mock renderBody when testing components that use <${input.renderBody}/>
renderBody
<${input.renderBody}/>
There is currently no way to mock or set the renderBody when testing a marko template.
From @DylanPiercey:
import { render, createRenderBody } from "@marko/testing-library"; render(template, { renderBody: createRenderBody("<h1>Hi!</h1>") });
Maybe, depending on guidance from maintainers.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Add a way to mock
renderBody
when testing components that use<${input.renderBody}/>
Why
There is currently no way to mock or set the
renderBody
when testing a marko template.Possible Implementation & Open Questions
From @DylanPiercey:
Is this something you're interested in working on?
Maybe, depending on guidance from maintainers.
The text was updated successfully, but these errors were encountered: