chore: added changeset

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-08-13 15:20:12 +02:00
parent 1d6cf554c6
commit c00e1a00f9
+17
View File
@@ -0,0 +1,17 @@
---
'@backstage/frontend-plugin-api': patch
'@backstage/frontend-test-utils': patch
---
Deprecate the `.render` method of the `createExtensionTester` in favour of using `renderInTestApp` directly.
```tsx
import { renderInTestApp, createExtensionTester } from '@backstage/frontend-test-utils';
const tester = createExtensionTester(extension);
const { getByTestId } = renderInTestApp(tester.element());
// or if you're not using `coreExtensionData.reactElement` as the output ref
const { getByTestId } = renderInTestApp(tester.data(myComponentRef))'
```