mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-19 02:21:32 +08:00
Update watchHistory test to expect rethrowSimple error
Instead of AxiosError
This commit is contained in:
@@ -93,7 +93,7 @@ describe("watchHistory", () => {
|
||||
await watchHistoryOnce();
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
expect(error.response.status).toBe(500);
|
||||
expect(error.message).toContain("500");
|
||||
}
|
||||
// Need to reset axios mock here. Smells like a bug,
|
||||
// maybe in axios-mock-adapter, maybe on our side
|
||||
|
||||
Reference in New Issue
Block a user