import {render, screen} from 'sentry-test/reactTestingLibrary';
import ViewCodeOwnerModal from './viewCodeOwnerModal';
describe('ViewCodeOwnerModal', () => {
const mockComponent: any = ({children}) =>
{children}
;
it('should display parsed codeowners file', () => {
const ownershipSyntax = `codeowners:/src/sentry/migrations/ #developer-infrastructure\n`;
render(
);
expect(screen.getByRole('textbox')).toHaveValue(ownershipSyntax);
});
});