Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

514 B
Raw Blame
import { describe, expect, it, vi } from 'vite-plus/test'
import { generateMetadata } from '../page'

vi.mock('server-only', () => ({}))

vi.mock('@/i18n/server', async (importOriginal) => ({
  ...(await importOriginal<typeof import('@/i18n/server')>()),
  getLocaleOnServer: async () => 'en-US',
}))

describe('Skills route metadata', () => {
  it('provides the localized document title for the Skills route', async () => {
    await expect(generateMetadata()).resolves.toMatchObject({ title: 'Skills' })
  })
})