import { describe, expect, it } from 'vitest';
import { validateAttachmentFiles } from '@/features/tickets/constants/attachments';

describe('validateAttachmentFiles', () => {
  it('accepts webp images', () => {
    const file = new File(['x'], 'IMG_0004.webp', { type: 'image/webp' });

    expect(validateAttachmentFiles([file])).toBeNull();
  });
});
