Hi everyone,
we are currently trying to push app to marketplace but fdk fails to print code coverage and we are requested code. Here are logs from report.json
{"coverage":{},"coverageSummary":{"lines":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"},"statements":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"},"functions":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"},"branches":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}}}
Any idea ?
Thanks
kaustavdm
(Kaustav Das Modak)
November 14, 2022, 8:53am
3
Hi @Camille_Hayot , what FDK version are you on? We recently fixed a code coverage issue in v8.6.5. Can you try updating to the latest FDK version and retry?
FDK v8.6.5 contains code-coverage fixes. So, updating to FDK v8.6.5 should address these issues. Additionally, deleting the generated .report.json in the app’s directory have helped others.
Hi @kaustavdm
currently on version 8.6.6
@kaustavdm @Debjani
Any idea on how to fix this ?
Installed last version, emptied .resport.json and still not working…
@kaustavdm @Debjani
Any update ? This is becoming critical since I can’t push app to marketplace…
When I make any change to my JS code the code coverage disappears, I can’t improve coverage…
FDK version : 8.6.6
Node version : 14.19.1
OS :Ubuntu 20.04.4
kaustavdm
(Kaustav Das Modak)
November 29, 2022, 7:19am
7
@Camille_Hayot apologies for the long delay in responding. Is this a react app by any chance?
@Developer-Platform Can someone help look into this issue? Code coverage issue seems to persist on Ubuntu even after upgrading FDK to latest 8.x.
system
(system)
Closed
February 27, 2023, 7:19am
8
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.