efegokdemir commented on code in PR #666:
URL: https://github.com/apache/shenyu-dashboard/pull/666#discussion_r4131568182
##########
src/utils/download.js:
##########
@@ -16,6 +16,35 @@
*/
import fetch from "dva/fetch";
+import { notification } from "antd";
+import { handleUnauthorized } from "./request";
Review Comment:
Updated in `09feff1`: the existing export-error test now mocks both
`notification.error` and the named `handleUnauthorized` helper used by
`download.js`. `git diff --check` passes; the focused Jest run remains
dependent on the repository install completing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]