TechDocsAddonTester.withDom()
Home > @backstage/plugin-techdocs-addons-test-utils
> TechDocsAddonTester
> withDom
Provide mock HTML if your Addon expects it in the shadow DOM.
Signature:
withDom(dom: ReactElement): this;
Parameters
Parameter |
Type |
Description |
---|---|---|
dom |
ReactElement |
this