sinonjs/sinon

Name differences

Open

#1.509 aberto em 3 de ago. de 2017

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (764 forks)batch import
Difficulty: MediumHelp wantedhacktoberfestpinned

Métricas do repositório

Stars
 (9.548 stars)
Métricas de merge de PR
 (Mesclagem média 6d 16h) (15 fundiu PRs em 30d)

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*'.

Guia do colaborador