import React from 'react';
import { render } from '@testing-library/react';

import HrmsEmployeeDetailsForm from './hrms-employee-details-form';
import { HrmsEmployeeDetailsDto } from '@gtpl/shared-models/masters';

describe('HrmsEmployeeDetailsForm', () => {
  it('should render successfully', () => {
    const { baseElement } = render(
      <HrmsEmployeeDetailsForm hrmsData={undefined} updateDetails={function (hrms: HrmsEmployeeDetailsDto): void {
        throw new Error('Function not implemented.');
      } } isUpdate={false} closeForm={function (): void {
        throw new Error('Function not implemented.');
      } } />
    );
    expect(baseElement).toBeTruthy();
  });
});
