efegokdemir commented on code in PR #666:
URL: https://github.com/apache/shenyu-dashboard/pull/666#discussion_r4149807258
##########
src/utils/download.js:
##########
@@ -16,6 +16,35 @@
*/
import fetch from "dva/fetch";
+import { notification } from "antd";
+import { handleUnauthorized } from "./request";
Review Comment:
Implemented in the current HEAD . now mocks both and the named export
used by , covering the 401 path without the mock TypeError.
--
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]