/* * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 */ import { render } from '@testing-library/react'; import React from 'react'; import { routerComponentPropsMock } from '../../../../test/mocks/routerPropsMock'; import { coreServicesMock, notificationServiceMock, } from '../../../../test/mocks/serviceMock'; import { CoreServicesContext } from '../../../components/coreServices'; import { ServicesContext } from '../../../services'; import { EmailGroups } from '../EmailGroups'; describe(' spec', () => { it('renders the component', () => { const utils = render( ); expect(utils.container.firstChild).toMatchSnapshot(); }); });