expect correct error

This commit is contained in:
Jonathan Jogenfors
2024-02-29 23:40:52 +01:00
parent 3d9c677c4a
commit 38fc1ac0ea

View File

@@ -1252,7 +1252,7 @@ describe(LibraryService.name, () => {
}),
);
await expect(sut.watchAll()).rejects.toEqual([expect.stringMatching('/Error: Error/')]);
await expect(sut.watchAll()).rejects.toThrow('Error!');
});
it('should ignore unknown extensions', async () => {