crypto.randomBytes(48, function (err, buffer) { if (err) { x = false; return; }
I need to create a test code where err is true. How to let crypto.randomByte cause an error.
Aucun commentaire:
Enregistrer un commentaire