Brijesh619 commented on code in PR #732:
URL: https://github.com/apache/atlas/pull/732#discussion_r3842634146


##########
dashboard/src/utils/__tests__/Utils.test.ts:
##########
@@ -22,6 +22,7 @@
  * Coverage Target: 100% for Statements, Branches, Functions, and Lines
  */
 
+

Review Comment:
   The discrepancy was indeed caused by the ESM import issue in the 
`sanitize-html` mock, which was failing 42 suites at module load time on a 
clean install.
   
   I have just pushed a fix to lazy-load the mock in 
`dashboard/src/__mocks__/sanitize-html.ts`. With this fix in place, the tests 
no longer crash at load time and all 189 test suites are successfully executing 
and passing. 
   
   



-- 
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