efegokdemir commented on code in PR #666:
URL: https://github.com/apache/shenyu-dashboard/pull/666#discussion_r4149809314


##########
src/utils/download.js:
##########
@@ -16,6 +16,35 @@
  */
 
 import fetch from "dva/fetch";
+import { notification } from "antd";
+import { handleUnauthorized } from "./request";

Review Comment:
   Correction: current HEAD 09feff1 updates common.test.js to mock 
notification.error and handleUnauthorized, 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]

Reply via email to