text: /**
   * Copyright 2004-present Facebook. All Rights Reserved.
   *
   * @format
   * @flow strict-local
   */
  
  import HealthTextSquare from '../HealthTextSquare';
  import MaterialTheme from '@fbcnms/tg-nms/app/MaterialTheme';
  import React from 'react';
  import {render} from '@testing-library/react';
  
  const defaultProps = {
    text: 'testText',
    health: 0,
  };
  
  test('renders', () => {
    const {getByText} = render(
      <MaterialTheme>
        <HealthTextSquare {...defaultProps} />
      </MaterialTheme>,
    );
    expect(getByText('TESTTEXT')).toBeInTheDocument();
  });
  