diff --git a/frontend/test/components/downloadEventRow.spec.js b/frontend/test/components/downloadEventRow.spec.js index 17d2151..e64c0e0 100644 --- a/frontend/test/components/downloadEventRow.spec.js +++ b/frontend/test/components/downloadEventRow.spec.js @@ -5,7 +5,7 @@ import DownloadEventRow from '../../src/components/downloads/DownloadEventRow.vu import { freshPinia, mountComponent } from '../support/mountComponent.js' describe('DownloadEventRow', () => { - it('renders the artist and the mapped status label', () => { + it('renders the mapped status label and platform', () => { const pinia = freshPinia() const now = new Date().toISOString() const event = { @@ -15,7 +15,7 @@ describe('DownloadEventRow', () => { } const w = mountComponent(DownloadEventRow, { props: { event }, pinia }) const t = w.text() - expect(t).toContain('Alice') expect(t).toContain('Completed') // downloadStatusLabel('ok') + expect(t).toContain('Patreon') // platformLabel via PlatformChip }) })