import React from 'react';
import { screen } from '@testing-library/react';
import { renderInAppContext } from '@theorchard/suite-testing';
import AccountGeneralSection, {
    type AccountGeneralSectionProps,
} from 'src/components/account-detail/account-general-section';

describe('<AccountGeneralSection />', () => {
    const props: AccountGeneralSectionProps = {
        accountDetails: { accountId: '1' },
    };
    renderInAppContext(<AccountGeneralSection {...props} />);

    it('renders the account general section', () => {
        expect(screen.getByText('Account Id')).toBeDefined();
    });
});
