mardi 3 mai 2016

What is the purpose of the pound (#) symbol in front of method names in unit tests

I see many test descriptions such as as in Mocha using the # symbol in front of methods. What is the purpose and origin of this? I've been doing it for years like a lemming so I figured it was time to ask why :)

describe('#myMethod()', function() { ... })

Aucun commentaire:

Enregistrer un commentaire