text: import pintora from '@pintora/core'
  import { EXAMPLES } from '@pintora/test-shared'
  import { testDraw, prepareDiagramConfig } from '../../__tests__/test-util'
  import { componentDiagram } from '../index'
  
  describe('component-artist', () => {
    beforeAll(() => {
      prepareDiagramConfig()
      pintora.diagramRegistry.registerDiagram('componentDiagram', componentDiagram)
    })
  
    it('match example snapshot', () => {
      expect(testDraw(EXAMPLES.component.code).graphicIR).toMatchSnapshot()
    })
  })
  