Eradev
4732012f1c
toHaveNoOtherSpyInteractions implementation
2025-01-10 21:05:12 -05:00
Steve Gravrock
7683325d68
Improved specs for async matcher error messages
2024-12-31 10:10:40 -08:00
Steve Gravrock
03d665e243
Merge branch 'improve_toBeRejectedWithError' of https://github.com/andiz2/jasmine
2024-12-31 10:07:53 -08:00
Andrei D
a1591da25d
improved error msg on toBeRehectedWithError and all other built-in async matchers
2024-12-22 17:43:47 +02: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
36dd6b07d1
add integration test for a falsy value
2024-12-10 11:39:44 +00:00
Matt McCherry
2f3689713b
add tests for falsy values
2024-12-10 11:31:16 +00:00
Alex Yorkovich
819fab7b58
simplified match condition
2024-12-07 13:14:25 -06:00
Steve Gravrock
e5ca1f37f1
Use discussions for support requests, not issues
2024-12-07 09:32:57 -08:00
Alex Yorkovich
c3650ea7c7
updated release number
2024-12-04 12:34:36 -06:00
Alex Yorkovich
1805337424
Added new toHaveClasses matcher; tests included
2024-12-04 12:20:15 -06: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
d9286c549f
add integration test for toBeNullish
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
663dfe5932
Updated release instructions
2024-11-23 10:42:20 -08:00
Steve Gravrock
ce9c752899
Added debug logging to flaky test
2024-11-12 20:25:20 -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
744e765d6f
Update copyright date
2024-11-09 13:37:46 -08:00
Steve Gravrock
29551ba4f3
Prettier
2024-11-09 13:17:32 -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
dda25bb29e
Removed references to PhantomJS from StackTraceSpec.js
2024-10-07 19:55:34 -07:00
Steve Gravrock
9ccf2ef96b
Also deprecate the expected and actual properties of ThrowUnlessFailure
2024-10-05 13:55:49 -07:00
Steve Gravrock
c6fa55bfc8
Clarify support status of old Firefox ESRs
2024-10-05 13:46: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
71f6a95ce5
Added Firefox 128 (current ESR) to supported browsers
2024-09-24 06:54:36 -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
David Császár
35f16e8125
Add test for unclamping setTimeout in Safari
2024-09-01 10:22:16 +02:00
David Császár
acc777c267
Unclamp setTimeout in Safari
...
Fixes #2008
wrapping setTimeout in postMessage is a trade-off between
* slowdown due to postMessage (slow on Safari)
* speedup due to no setTimeout clamping (can be severe on Safari)
2024-09-01 10:21:57 +02:00
David Császár
1c74356691
Add unclampedSetTimeout helper
2024-09-01 09:54:55 +02:00
David Császár
bbebea0fa5
Refactor: extract postMessage
2024-09-01 09:31:52 +02: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
Mert Akinc
554dfd4923
Update comments as requested
2024-08-05 12:27:11 -05:00
Mert Akinc
36a6e2aa1d
Merge branch 'main' into webkit-performance
2024-08-05 12:19:53 -05:00
Steve Gravrock
3c4b73f136
Fixed globbing in own test suite when running on Windows outside of c:\Users
...
The previous code used path.join() to construct glob input. That should't
work, but it did as long as the working directory was under c:\Users.
2024-08-03 18:06:20 -07:00
Mert Akinc
bc3ed74336
Formatting fix
2024-07-26 17:54:04 -05:00
Mert Akinc
97b6f33cc2
Add test, update rexex pattern and constant name
2024-07-26 17:45:23 -05:00
Mert Akinc
a9889ddb31
Improve performance on Playwright Windows WebKit
2024-07-25 09:54:32 -05:00
Steve Gravrock
cd1b7ce9c7
Bump version to 5.2.0
2024-07-20 08:44:53 -07:00
Steve Gravrock
3653d6e0ef
Moved eslint and prettier configs out of package.json
2024-07-18 07:17:31 -07:00
Steve Gravrock
c3387f8dbf
Merge branch 'stephanreiter-better-toHaveSize'
...
* Merges #2033 from @stephanreiter
2024-07-13 14:02:15 -07:00