mardi 8 décembre 2020

How to exclude parts of a JS program from testing to avoid coverage reduction?

I got this test:

enter image description here

Every column of this test is green, except for those 2 in yellow. When seeing the file, the reason why it has low scoring is because this function Async Wrapper:

enter image description here

Is there a way to exclude it from the test?

Aucun commentaire:

Enregistrer un commentaire