import { describe, expect, it } from 'vitest'; import { TRACES } from './plotly-bundle'; describe('Plotly partial bundle', () => { it('registers the Sankey and contour traces', () => { const names = TRACES.map((trace) => (trace as { name?: string }).name); expect(names).toEqual(expect.arrayContaining(['sankey', 'contour', 'bar', 'scatter', 'box', 'pie'])); }); });