mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
Make Database → Replication pipelines-only. Replica create/list/diagram nodes move out; legacy destinationType links redirect to Infrastructure.
22 lines
652 B
TypeScript
22 lines
652 B
TypeScript
import { render } from '@testing-library/react'
|
|
import { describe, expect, test } from 'vitest'
|
|
|
|
import { DestinationIcon } from './DestinationIcon'
|
|
import type { DestinationType } from './DestinationPanel/DestinationPanel.types'
|
|
|
|
const DESTINATION_TYPES: DestinationType[] = [
|
|
'BigQuery',
|
|
'Analytics Bucket',
|
|
'DuckLake',
|
|
'Snowflake',
|
|
'ClickHouse',
|
|
]
|
|
|
|
describe('DestinationIcon', () => {
|
|
test.each(DESTINATION_TYPES)('renders %s at the canonical stroke width', (type) => {
|
|
const { container } = render(<DestinationIcon type={type} size={20} />)
|
|
|
|
expect(container.querySelector('svg')).toHaveAttribute('stroke-width', '1.5')
|
|
})
|
|
})
|