Steve Gravrock
135ff20123
Replaced uses of var with const/let
2022-06-09 20:00:23 -07:00
Steve Gravrock
1f318c3c93
Added missing @since annotations
2021-09-23 13:38:52 -07:00
Steve Gravrock
d6fa9dd1a0
Fixed jsdocs for Spy#calls#thisFor
2021-04-17 12:32:59 -07:00
Alexander J. Vincent
e303de52ed
Implement CallTracker.thisFor().
2021-04-11 22:59:43 -07:00
Gregg Van Hove
15f969bee7
Add @since to most JSDoc comments
...
- See jasmine/jasmine.github.io#117
2019-06-12 16:23:12 -07:00
Gregg Van Hove
b4cbe9850f
add prettier and eslint
2019-05-21 18:23:48 -07:00
Elliot Nelson
1e855aa9b8
Cleanup: whitespace
2019-05-18 08:10:11 -04:00
Audrius Jakumavicius
1f6c91de7c
Deep clone args before passing them to reporters
2017-10-07 01:32:39 +02:00
ksvitkovsky
f58002f0a6
Better primitives detection for saveArgsByValue
2017-08-04 09:40:42 -07:00
Gregg Van Hove
9cb2f06aa6
Add a first pass at jsdoc.
...
[##130415655] #596
2017-03-21 11:36:41 -07:00
Gregg Van Hove
f38e8e9235
Merge branch 'cloned-args-on-calltracker' of https://github.com/a-r-d/jasmine into a-r-d-cloned-args-on-calltracker
...
- Merges #1000
- Fixes #872
2016-02-16 15:00:49 -08:00
Aaron DEcker
fa71928cad
changed arg cloner to be safe on older browsers
2015-12-22 00:35:36 -05:00
Aaron DEcker
3e91ac0889
add option to shallow clone args in call tracker
2015-12-22 00:27:51 -05:00
Davis W. Frank & Sheel Choksi
3847557bbc
Squashed spy refactor and new spy syntax
...
Jasmine spies now have a 'and' property which allows the user to
change the spy's execution strategy-- such as '.and.callReturn(4)'
and a 'calls' property which allows inspection of the calls a spy
has received.
* This is a breaking change *
There is a CallTracker that keeps track of all calls and arguments
and a SpyStrategy which determines what the spy should do when it
is called.
2013-07-22 14:29:52 -07:00