diff --git a/packages/test-utils/src/testUtils/TestApiProvider.tsx b/packages/test-utils/src/testUtils/TestApiProvider.tsx index f38433ace9..c212b94bea 100644 --- a/packages/test-utils/src/testUtils/TestApiProvider.tsx +++ b/packages/test-utils/src/testUtils/TestApiProvider.tsx @@ -91,6 +91,10 @@ export class TestApiRegistry implements ApiHolder { * It lets you provide any number of API implementations, without necessarily * having to fully implement each of the APIs. * + * @remarks + * todo: remove this remark tag and ship in the api-reference. There's some odd formatting going on when this is made into a markdown doc, that there's no line break between + * the emmited

for To the following

so what happens is that when parsing in docusaurus, it thinks that the code block is mdx rather than a code + * snippet. Just ommiting this from the report for now until we can work out how to fix laterr. * A migration from `ApiRegistry` and `ApiProvider` might look like this, from: * * ```tsx @@ -100,7 +104,7 @@ export class TestApiRegistry implements ApiHolder { * [identityApiRef, mockIdentityApi as unknown as IdentityApi] * ])} * > - * // ... + * ... * * ) * ``` @@ -110,7 +114,7 @@ export class TestApiRegistry implements ApiHolder { * ```tsx * renderInTestApp( * - * // ... + * ... * * ) * ```