diff --git a/desktop/src/components/chat/AttachmentGallery.test.tsx b/desktop/src/components/chat/AttachmentGallery.test.tsx
new file mode 100644
index 00000000..26419659
--- /dev/null
+++ b/desktop/src/components/chat/AttachmentGallery.test.tsx
@@ -0,0 +1,67 @@
+// @vitest-environment jsdom
+
+import { fireEvent, render } from '@testing-library/react'
+import { describe, expect, it, vi } from 'vitest'
+import { AttachmentGallery } from './AttachmentGallery'
+
+describe('AttachmentGallery', () => {
+ it('renders a compact quote preview for selected workspace text', () => {
+ render(
+