sinonjs/sinon

Name differences

Ouverte

#1 509 ouverte le 3 août 2017

 (3 commentaires) (0 réaction) (0 personne assignée)JavaScript (764 forks)batch import
Difficulty: MediumHelp wantedhacktoberfestpinned

Métriques du dépôt

Stars
 (9 548 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

It might be logical reasons that I don't know about, but I wonder about some of the name differences between sinon-methods:

spy.notCalledWith assert.neverCalledWith

Should they have the same name?

stub.callsFake stub.callsArg stub.callsArgWith stub.callThrough stub.callArg stub.callArgWith

I often end up checking the docs where there is 'calls*' and where there is 'call*'.

Guide contributeur