diff --git a/web/src/lib/components/admin/BackupPanel.test.ts b/web/src/lib/components/admin/BackupPanel.test.ts index b95a750e..cc6750d7 100644 --- a/web/src/lib/components/admin/BackupPanel.test.ts +++ b/web/src/lib/components/admin/BackupPanel.test.ts @@ -201,10 +201,10 @@ describe('BackupPanel', () => { }) ); const music = screen.getByTestId('backup-music').textContent?.replace(/\s+/g, ' ') ?? ''; - expect(music).toMatch(/4 of 10 files backed up · 120\.0 MB of 300\.0 MB/); + expect(music).toMatch(/4 of 10 files backed up · 120 MB of 300 MB/); expect(music).toMatch(/The rest goes with the next backups\./); const runs = screen.getByRole('list', { name: /latest backups/i }).textContent?.replace(/\s+/g, ' ') ?? ''; - expect(runs).toMatch(/Music: 4 files · 120\.0 MB/); + expect(runs).toMatch(/Music: 4 files · 120 MB/); expect(runs).toMatch(/carries on with the next backup/); });