Steve Gravrock
fe0a83ba87
Removed support for Internet Explorer
2021-07-23 21:46:15 -07:00
Steve Gravrock
c2a714f168
Removed support for IE 10 and Safari 8
2021-04-23 08:14:19 -07:00
Steve Gravrock
d27bb8fa96
Run Prettier on all files
2020-09-29 18:05:38 -07:00
Steve Gravrock
4e2f703615
Check for syntax and standard library objects that don't work in IE
2020-07-01 17:34:59 -07:00
Steve Gravrock
a63172f53f
expect(null).toEqual(jasmine.any(Object)) no longer passes
...
[Finishes #153181443 ]
Fixes #1255 .
2017-11-29 08:10:01 -08:00
Zaven Muradyan
62f769767a
Add support for jasmine.any(Symbol).
...
The original asymmetric matcher code for Any did not work with symbols
since `symbolInstance instanceof Symbol` is actually `false` (but,
`symbolInstance.constructor` is `Symbol). This simply adds an extra
clause that explicitly checks for symbol (if available) like the other
primitive types.
Also added some missing specs for other types, like Map, Set, etc.
Fixes #1431 .
2017-10-23 20:07:56 -07:00
Gregg Van Hove
79206ccff5
Rename j$ to jasmineUnderTest for specs
...
- Clarifies what it is for when writing tests
- No longer named the same as the `jasmine` that is injected into live
code
2015-12-03 17:23:32 -08:00
Dan Finnie
302e78f1df
Raise an error when jasmine.any() isn't passed a constructor
2015-05-17 02:21:26 -04:00
Gregg Van Hove
c77ff30263
Show the name of the constructor function when printing an any
...
- instead of a `toString` of the entire constructor
Fixes #796
2015-03-03 13:27:31 -08:00
slackersoft
dfa8a77dc3
Add asymmetric equality tester to match a string against a regexp
...
- Also move the asymmetric testers into their own dir for easier
locating.
[#58120558 ] Fix #243
2014-12-19 12:39:24 -08:00