sinonjs/sinon

Name differences

オープン

#1,509 opened on 2017/08/03

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (764 件のフォーク)batch import
Difficulty: MediumHelp wantedhacktoberfestpinned

Repository metrics

Stars
 (9,548 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド