nl_tokens: Enhances expect with sinon matchers . Usage :
pl_tokens: function ( expect , sinon , name ) { if ( typeof ( name ) === 'undefined' ) { <mask> = 'spy' ; } SinonExpect . _expect = expect ; SinonExpect . _sinon = sinon ; SinonExpect . ExpectWrapper . __proto__ = expect . Assertion ; SinonExpect . ExpectWrapper . spyName = name ; var result = function ( obj ) { return new SinonExpect . ExpectWrapper ( obj ) ; } ; result . Assertion = SinonExpect . ExpectWrapper ; SinonExpect . buildMatchers ( ) ; return result ; }