Skip to content

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.

fix(webv2): satisfy the checks this branch was not run against

Alexander Eichhorn98de037a81d9
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/bboxGrid.test.ts b/invokeai/frontend/webv2/src/workbench/widgets/canvas/bboxGrid.test.ts
index 3ccee56828..e4ab0e0705 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/bboxGrid.test.ts
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/bboxGrid.test.ts
@@ -1,10 +1,9 @@
+import { seedArchitectureCapabilities } from '@features/generation/core/architectureCapabilities.testing';
import { describe, expect, it } from 'vitest';
-import { useArchitectureCapabilitiesFixture } from '@features/generation/core/architectureCapabilities.testing';
-
import { DEFAULT_MODEL_GRID, gridSizeForModelBase } from './bboxGrid';
-useArchitectureCapabilitiesFixture();
+seedArchitectureCapabilities();
describe('gridSizeForModelBase', () => {
it('reads the grid the architecture declares', () => {
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/invoke/prepareCanvasInvocation.test.ts b/invokeai/frontend/webv2/src/workbench/widgets/canvas/invoke/prepareCanvasInvocation.test.ts
index c1aee39a45..748c2c1346 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/invoke/prepareCanvasInvocation.test.ts
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/invoke/prepareCanvasInvocation.test.ts
@@ -15,6 +15,7 @@ import type { WorkbenchState } from '@workbench/projectContracts';
import type { WorkbenchAction } from '@workbench/workbenchState.testing';
import type { WorkbenchCommands } from '@workbench/workbenchStore';
+import { seedArchitectureCapabilities } from '@features/generation/core/architectureCapabilities.testing';
import { getDefaultGenerateSettings } from '@features/generation/settings';
import { createTestStubRasterBackend } from '@workbench/canvas-engine/render/raster.testStub';
import {
@@ -34,7 +35,6 @@ import {
resolveRegionalReferenceImages,
runCanvasInvocation,
} from './prepareCanvasInvocation';
-import { useArchitectureCapabilitiesFixture } from '@features/generation/core/architectureCapabilities.testing';
const canvasBoundaryMocks = vi.hoisted(() => ({
getCanvasEngine: vi.fn(),
@@ -321,7 +321,7 @@ const controlLayer = (
withTransparencyEffect: true,
});
-useArchitectureCapabilitiesFixture();
+seedArchitectureCapabilities();
describe('prepareCanvasInvocation generation-device boundary', () => {
beforeEach(() => {