message: cli: fix plugin template by using renderInTestApp in component test
diff: import React from 'react';
  -import { render } from '@testing-library/react';
  import { ExampleComponent } from './ExampleComponent';
  import { ThemeProvider } from '@material-ui/core';
  import { lightTheme } from '@backstage/theme';
  import { rest } from 'msw';
  import { setupServer } from 'msw/node';
  -import { msw } from '@backstage/test-utils';
  +import { msw, renderInTestApp } from '@backstage/test-utils';
  describe('ExampleComponent', () => {
  const server = setupServer();
  @@ -19,8 +18,8 @@ describe('ExampleComponent', () => {
  );
  });
  - it('should render', () => {
  - const rendered = render(
  + it('should render', async () => {
  + const rendered = await renderInTestApp(
  <ThemeProvider theme={lightTheme}>
  <ExampleComponent />
  </ThemeProvider>,
  