Steve Gravrock
ff476b1982
Unify error dispatching between browser and node
2025-07-12 13:56:58 -07:00
Steve Gravrock
d53d2ff3eb
Convert GlobalErrors to an ES6 class
2025-07-12 13:56:50 -07:00
Steve Gravrock
21db6ec0e3
Removed unnecessary errorWithStack helper
2025-06-22 12:49:26 -07:00
Steve Gravrock
2d07b3e6d7
Removed protections against user code redefining undefined
...
Jasmine hasn't even run on platforms that allowed redefining undefined
since 2.x.
2025-06-22 12:23:18 -07:00
Steve Gravrock
f4be08b657
Bump version to 5.8.0
2025-06-06 17:34:09 -07:00
Steve Gravrock
50ef882a1a
Merge branch 'gh1886-spy-args-deep-clone' of https://github.com/evanwalsh/jasmine
...
Merges #2062 from @evanwaslh
Fixes #1886
2025-06-05 06:54:37 -07:00
Steve Gravrock
c1cd5c6291
Use custom object formatters in spy strategy mismatch errors
2025-06-05 05:46:29 -07:00
Steve Gravrock
63ed2b3948
Include function names in pretty printer output
...
This helps make matcher errors and spy strategy mismatch errors easier
to understand in cases where the difference involves expecting one
function but getting a different one.
2025-06-04 18:37:44 -07:00
Steve Gravrock
0183acc682
Fix diff building when only one side has a custom object formatter
...
Fixes #2061
2025-06-04 18:04:40 -07:00
Steve Gravrock
94c00886a6
Merge branch 'setimmedate' of https://github.com/atscott/jasmine
...
Merges #2058 from @atscott
2025-05-03 10:00:41 -07:00
Steve Gravrock
f5915d7963
Bump version to 5.7.1
2025-05-01 19:31:30 -07:00
Steve Gravrock
15587f3ce3
Merge branch 'autotickuninstall' of https://github.com/atscott/jasmine
...
Merges #2057 from @atscott
2025-05-01 16:46:30 -07:00
Steve Gravrock
0e604de0db
Bump version to 5.7.0
2025-04-26 09:29:07 -07:00
Steve Gravrock
e7ca9c5765
Built distribution
2025-04-26 09:28:21 -07:00
Steve Gravrock
cbff6f95cb
Fixed autoTick jsdoc
2025-04-26 08:27:12 -07:00
Steve Gravrock
361640f52e
Document that SpecResult#filename and SuiteResult#filename are wrong in some common scenarios
...
See:
* https://github.com/jasmine/jasmine/issues/2016
* https://github.com/jasmine/jasmine/issues/1884
2025-04-26 07:38:28 -07:00
Steve Gravrock
e5d46e8624
Expose spec path as an array of names
...
This is in addition to the existing concatenated name. It's meant to
support tools like IDE integrations that want to be able to filter a
run to an exact set of suites/specs.
2025-04-12 09:49:35 -07:00
Steve Gravrock
fc935e89c6
Removed grunt-contrib-concat
2025-04-08 21:08:45 -07:00
Steve Gravrock
5b1c932f89
Built distribution
2025-04-07 22:07:52 -07:00
Steve Gravrock
7d697faf95
Merge branch 'atscott-autoTick'
...
* Merges #2042 from @atscott
* Fixes #1932
* Fixes #1725
2025-03-21 09:21:14 -07:00
Steve Gravrock
f0a5ea9d0f
Updated docs for expected and actual properties of expectation results
2025-02-17 12:07:32 -08:00
Steve Gravrock
c4f4edda1b
Bump version to 5.6.0
2025-02-08 11:10:06 -08:00
Steve Gravrock
cf057b6631
Fixed parse error from jsdoc
...
"arguments" isn't a legal argument name in strict mode JS. The JS
runtimes that Jasmine runs in allow it, but jsdoc doesn't.
2025-02-08 10:25:41 -08:00
Steve Gravrock
2a7a157713
toHaveNoOtherSpyInteractions message tweaks
2025-01-20 11:31:47 -08:00
Steve Gravrock
1b724daa10
Merge branch 'Eradev-issue-1991'
...
* Merges #2051 from @Eradev
* Fixes #1991
2025-01-20 11:31:06 -08:00
Steve Gravrock
592d47e971
Update copyright date
2025-01-11 08:33:37 -08:00
Steve Gravrock
03d665e243
Merge branch 'improve_toBeRejectedWithError' of https://github.com/andiz2/jasmine
2024-12-31 10:07:53 -08:00
Steve Gravrock
1f1e1209d2
Merge branch 'add_toBeNullish' of https://github.com/MattMcCherry/jasmine
...
* Merges #2045 from @MattMcCherry
2024-12-12 17:30:55 -08:00
Steve Gravrock
a389905a38
Merge branch 'feature/matcher-toHaveClasses' of https://github.com/aYorky/jasmine
...
* Merges #2046 from @aYorky
2024-12-11 19:19:58 -08:00
Matt McCherry
27bb6ebac1
reset jasmine.js
2024-12-02 10:34:55 +00:00
Matt McCherry
580323c221
run prettier and fix tests
2024-12-02 10:34:55 +00:00
Matt McCherry
26dfa6d257
Add .toBeNullish matcher
2024-12-02 10:34:49 +00:00
Steve Gravrock
483d4ab3c3
Bump version to 5.5.0
2024-11-23 10:58:56 -08:00
Steve Gravrock
d5e7bc9fd6
Optionally enforce uniqueness of spec and suite names
...
This is off by default for backwards compatibility but can be enabled
by setting the forbidDuplicateNames env config property to true.
Fixes #1633 .
2024-11-10 09:54:51 -08:00
Steve Gravrock
bd9a3b2305
Include property value mismatches in diffs even when there are missing or extra properties
2024-11-09 11:22:27 -08:00
Steve Gravrock
c8c3325b56
Bump version to 5.4.0
2024-10-12 10:31:35 -07:00
Steve Gravrock
84c7e2b21b
Fixed de-duplication of exception messages containing blank lines on Node and Chrome
...
This is particularly helpful when reporting testing-library errors, which
have messages that contain blank lines and can be hundreds or even thousands
of lines long.
2024-10-07 20:04:07 -07:00
Steve Gravrock
9ccf2ef96b
Also deprecate the expected and actual properties of ThrowUnlessFailure
2024-10-05 13:55:49 -07:00
Steve Gravrock
06bcf1c2e1
Fixed broken docs link
2024-10-05 13:38:52 -07:00
Steve Gravrock
40f402d117
Deprecate the expected and actual properties of expectation results
2024-10-04 07:54:20 -07:00
Steve Gravrock
5cd7d47f72
Bump version to 5.3.0
2024-09-07 13:18:21 -07:00
Steve Gravrock
d0fe5c4712
Require curly braces around loop and conditonal bodies
2024-09-02 11:30:36 -07:00
Steve Gravrock
f602c4911c
Merge branch 'dave-unclamp-safari' of https://github.com/dcsaszar/jasmine
...
* Significantly improves performance in Safari
* Merges #2040 from @dcsaszar
* Fixes #2008
2024-09-02 11:22:56 -07:00
Steve Gravrock
7aaf7eaf30
API reference for reporter capabilities
2024-09-02 10:53:56 -07:00
Steve Gravrock
66eb27b0af
Throw if spying has no effect
...
This provides a useful diagnostic in cases where assigning to a property
is a no-op, like localStorage in Firefox and Safari 17.
See #2036 and #2007 .
2024-08-17 09:07:18 -07:00
Steve Gravrock
7a63c06a65
Merge branch 'webkit-performance' of https://github.com/m-akinc/jasmine
...
* Merges #2034 from @m-akinc
2024-08-10 07:26:00 -07:00
Steve Gravrock
cd1b7ce9c7
Bump version to 5.2.0
2024-07-20 08:44:53 -07:00
Steve Gravrock
c3387f8dbf
Merge branch 'stephanreiter-better-toHaveSize'
...
* Merges #2033 from @stephanreiter
2024-07-13 14:02:15 -07:00
Steve Gravrock
3d54184c7f
Docs: Improved discoverability of asymmetric equality testers
2024-07-03 10:17:57 -07:00
Steve Gravrock
cc69edf92c
Fixed stack trace filtering in FF when the developer tools are open
2024-06-22 11:49:49 -07:00