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
style(webv2): type partial device mock consistently
joshistoastde50afc962b2
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMediaChrome.browser.test.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMediaChrome.browser.test.tsxindex 286ea90820..206bc97661 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMediaChrome.browser.test.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMediaChrome.browser.test.tsx@@ -1,5 +1,6 @@/* oxlint-disable react-perf/jsx-no-new-array-as-prop, react-perf/jsx-no-new-function-as-prop, react-perf/jsx-no-new-object-as-prop */import type { GalleryImageItem, GalleryVideoItem } from '@features/gallery';+import type * as queueDevicesModule from '@features/queue/devices';import type { ImageActions } from '@workbench/image-actions';import { Box, ChakraProvider, Text } from '@chakra-ui/react';@@ -61,7 +62,7 @@ vi.mock('@features/queue/react', () => ({}));vi.mock('@features/queue/devices', async (importOriginal) => {- const actual = await importOriginal<typeof import('@features/queue/devices')>();+ const actual = await importOriginal<typeof queueDevicesModule>();return {...actual,