import { screen } from '@testing-library/react'; import { render } from 'utils/testRenderer'; import { PlaygroundEnvironmentTable } from './PlaygroundEnvironmentTable'; import { UIProviderContainer } from '../../../providers/UIProvider/UIProviderContainer'; test('should render environment table', async () => { render( ); expect(screen.getByText('web')).toBeInTheDocument(); expect(screen.getByText('clientA')).toBeInTheDocument(); expect(screen.getByText('variantName')).toBeInTheDocument(); expect(screen.getByText('False')).toBeInTheDocument(); expect(screen.getByText('myapp')).toBeInTheDocument(); });