File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11
2+ 0.4.0 / 2012-10-09
3+ ==================
4+
5+ * Merge pull request #5 from tregusti/feature/return-value
6+ * Make spies have a return value.
7+ * credit where due
8+
290.3.0 / 2012-07-11
310==================
411
Original file line number Diff line number Diff line change 7373 var args = Array . prototype . slice . call ( arguments ) ;
7474 proxy . __spy . calls . push ( args ) ;
7575 proxy . __spy . called = true ;
76- fn . apply ( this , args ) ;
76+ return fn . apply ( this , args ) ;
7777 } ) ;
7878
7979 proxy . prototype = fn . prototype ;
Original file line number Diff line number Diff line change 22 "author" : " Jake Luer <jake@alogicalparadox.com> (http://alogicalparadox.com)" ,
33 "name" : " chai-spies" ,
44 "description" : " Spies for the Chai assertion library." ,
5- "version" : " 0.3 .0" ,
5+ "version" : " 0.4 .0" ,
66 "repository" : {
77 "type" : " git" ,
88 "url" : " git://github.com/logicalparadox/chai-spies.git"
You can’t perform that action at this time.
0 commit comments