The first public release of Fabled Minstrel #158
@@ -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/);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user