Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

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

import { DEFAULT_IMAGE_GENERATION_PARAMETERS, initialGenerationConfigState } from './initialState';

describe('initialGenerationConfigState', () => {
  it('uses the canonical Nano Banana 2 resolution values', () => {
    expect(initialGenerationConfigState.model).toBe('gemini-3.1-flash-image:image');
    expect(initialGenerationConfigState.parametersSchema.resolution?.enum).toEqual([
      '512',
      '1K',
      '2K',
      '4K',
    ]);
    expect(DEFAULT_IMAGE_GENERATION_PARAMETERS.resolution).toBe('1K');
  });
});