I have a jade file and corresponding javascript file. the Div elements are defined in jade file and i am using getElementById to access those element in javascript file dynamically. How should i write test cases ? In Mocha I am getting error like " Uncaught TypeError: Cannot set property 'innerHTML' of null"
Aucun commentaire:
Enregistrer un commentaire