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.

340 B
Raw Blame
import { parseDetailSidebarMode } from '../cookie'

describe('detail sidebar cookie', () => {
  it.each([
    ['collapse', 'collapse'],
    ['expand', 'expand'],
    ['unexpected', 'expand'],
    [undefined, 'expand'],
  ] as const)('parses %s as %s', (value, expected) => {
    expect(parseDetailSidebarMode(value)).toBe(expected)
  })
})