/** * Copyright (c) 2023 Google LLC * SPDX-License-Identifier: MIT */ import { screen } from '@testing-library/react'; import { renderWithTheme } from '@looker/components-test-utils'; import React from 'react'; import { FilterErrorMessage } from './FilterErrorMessage'; describe('FilterErrorMessage tests', () => { it('displays that the required filter is in an error state', () => { renderWithTheme( ); expect(screen.getByText('Selection required')).toBeVisible(); }); });