Steve Gravrock
55dce7d119
Extracted runnable resource management out of Env
2022-06-11 15:28:37 -07:00
Steve Gravrock
96000220b1
Use arrow fns rather than self = this
2022-06-11 12:12:11 -07:00
Steve Gravrock
135ff20123
Replaced uses of var with const/let
2022-06-09 20:00:23 -07:00
Steve Gravrock
2a049015b0
Use custom equality testers in Spy#withArgs
...
Fixes #1836 .
2021-11-15 18:55:09 -08:00
Steve Gravrock
d61800c5c8
Removed support for custom promise libraries
...
All supported platforms now provide promises, so there's no longer a need
for Jasmine to be able to create them via a user-provided library. Jasmine
can still consume non-native promises but will always use the built-in
Promise object to create promises.
[#179078103 ]
2021-08-30 19:07:26 -07:00
DCtheTall
d5d5d1965f
Have properties added by createSpyObj() be enumerable.
2020-10-02 13:49:34 -04:00
Pivotal
008b80adc5
Merge branch 'enelson/default' of https://github.com/elliot-nelson/jasmine
...
* Merges #1716 from @elliot-nelson
2019-08-29 13:50:27 -07:00
Elliot Nelson
65e6df55ee
Linting fixes
2019-06-20 07:34:31 -04:00
Elliot Nelson
45475f6d1e
Allow users to pass property names to createSpyObj
2019-06-20 07:33:10 -04:00
Elliot Nelson
e07da96354
Apply prettier
2019-06-07 23:33:06 -04:00
Elliot Nelson
96786c793f
Allow users to set a default spy strategy
2019-06-07 23:32:13 -04:00
Gregg Van Hove
b4cbe9850f
add prettier and eslint
2019-05-21 18:23:48 -07:00
Elliot Nelson
4731b4ee4d
Keep all Promise implementation details internal
2019-05-08 09:13:41 -04:00
Gregg Van Hove
f20f78f82b
Don't clobber previous custom plans with later plans
...
[finishes #37288941 ]
2018-01-22 12:10:24 -08:00
Steve Gravrock
4934e420b2
Allow adding custom spy strategies
...
[#37288941 ]
2018-01-10 08:59:19 -08:00
Steve Gravrock
1085914a76
Extracted a SpyFactory to slim Env down a bit
2018-01-09 13:32:28 -08:00