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.

451 B
Raw Blame
import { resolveEmoji } from '../emoji'

describe('persisted emoji compatibility', () => {
  it.each([
    ['rabbit', '🐰'],
    ['robot_face', '🤖'],
    ['satisfied', '😆'],
    [':+1:', '👍'],
    ['🐻', '🐻'],
    ['👩🏽‍💻', '👩🏽‍💻'],
    ['unknown-id', 'unknown-id'],
    ['', '🤖'],
    [undefined, '🤖'],
  ])('resolves %s to %s', (value, expected) => {
    expect(resolveEmoji(value)).toBe(expected)
  })
})