message: core-components: avoid logging in GaugeCard test
diff: */
  import React from 'react';
  -import { renderInTestApp } from '@backstage/test-utils';
  +import { renderInTestApp, withLogCollector } from '@backstage/test-utils';
  import { GaugeCard } from './GaugeCard';
  @@ -40,7 +40,12 @@ describe('<GaugeCard />', () => {
  it('handles invalid numbers', async () => {
  const badProps = { title: 'Tingle upgrade', progress: 'hejjo' } as any;
  + const { error } = await withLogCollector(async () => {
  const { getByText } = await renderInTestApp(<GaugeCard {...badProps} />);
  expect(getByText(/N\/A.*/)).toBeInTheDocument();
  });
  + expect(error).toEqual([
  + expect.stringMatching(/^Warning: `NaN` is an invalid value/),
  + ]);
  + });
  });
  