mercredi 1 juillet 2020

How to mock a function in testcafe test?

I am trying to perform the same function in method in test as helper method, but getting the module as undefined(node-forge/lib/random). I tried to load the module using clientScripts('path to random.js'). But that did not work.

Aucun commentaire:

Enregistrer un commentaire