Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
test(gallery): drop the removed pendingPlaceholders from the upload tests
Lincoln Stein266bafaf7f78
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.browser.test.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.browser.test.tsxindex 9acc9f0606..12ccef0975 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.browser.test.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.browser.test.tsx@@ -1115,7 +1115,7 @@ describe('GalleryImageGrid upload drop zone', () => {});it('offers every container and audio format the upload route ingests', async () => {- await renderGallery(createGallery({ items: [], pendingPlaceholders: [] }));+ await renderGallery(createGallery({ items: [] }));const accept = host?.querySelector<HTMLInputElement>('input[type="file"]')?.accept.split(',');@@ -1129,7 +1129,7 @@ describe('GalleryImageGrid upload drop zone', () => {// filtering here by the picker's list would re-hide exactly what the picker just stopped// hiding, and the classifier downstream is the single place that decides.it('hands a dropped audio file to the upload action', async () => {- await renderGallery(createGallery({ items: [], pendingPlaceholders: [] }));+ await renderGallery(createGallery({ items: [] }));const dropTarget = host?.querySelector('[role="button"]');const dataTransfer = new DataTransfer();