import { render } from '@testing-library/react';
import React from 'react';
import { describe, expect, it } from 'vitest';
import { noop } from '../../../helpers/utils';
import { MaskedSingleLineText } from './MaskedSingleLineText';

const defaultProps = {
  name: 'timestamp',
  label: 'Timestamp',
  mask: '000',
  onChange: noop,
};

describe('MaskedSingleLineText', () => {
  it('should render the component without crashing', () => {
    const { container } = render(<MaskedSingleLineText {...defaultProps} />);

    expect(container).toBeTruthy();
  });
});
