I can't understand some of the notes in the jest test report.

jest test report clicks into the code details page, and some annotated screenshots are as follows

clipboard.png

    What is the meaning of 5x on the left side of
  1. ?
  2. E hint else path not token what do you mean?

solve.

Mar.10,2022

5x indicates that this statement was executed five times in the test.
E is the case when the test case does not test if condition false , that is, in your test case validator.validateDeviceId (deviceId) has always been true , you have to write a validator.validateDeviceId (deviceId) test case for false . This E will disappear
I is the case where the test case has no test if condition true

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2b4c2-2ba7a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2b4c2-2ba7a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?