Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

518 B
Raw Blame
import { render, screen } from '@testing-library/react';
import { describe, expect, it } from 'vitest';
import { SettingsView } from './SettingsView.js';

describe('SettingsView', () => {
  it('re-exports the OpenCreator settings view for compatibility', () => {
    render(<SettingsView runtimeStatus={{ connected: false }} onBack={() => undefined} />);

    expect(screen.getByRole('button', { name: '返回应用' })).toBeInTheDocument();
    expect(screen.getByText('默认权限')).toBeInTheDocument();
  });
});