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.

732 B
Raw Blame
import { describe, expect, it, vi } from 'vitest';

vi.mock('./revealExternalGeneration', () => {
  throw new Error('The external generation reveal must stay behind its dynamic import.');
});
vi.mock('./revealGalleryItem', () => {
  throw new Error('Gallery reveal must stay behind the external reveal dynamic import.');
});
vi.mock('@features/queue/queries', () => {
  throw new Error('Queue result reads must stay behind the external reveal dynamic import.');
});

describe('recall and reveal bridge lazy boundary', () => {
  it('loads in the editor boot graph without the reveal it attaches', async () => {
    await expect(import('./recallParametersBridge')).resolves.toHaveProperty('attachExternalGenerationReveal');
  });
});