Steve Gravrock
35064cf60e
Merge branch '3.99' into 4.0
2021-09-24 14:31:02 -07:00
Steve Gravrock
fb4c16b23e
Merge branch 'main' into 3.99
2021-09-24 14:27:15 -07:00
Steve Gravrock
3b28ee7c29
Fixed extra deprecation when passing custom equality testers to MatchersUtil#contains
2021-09-24 14:25:54 -07:00
Steve Gravrock
40be00310d
Don't immediately move to the next queueable fn on async error
...
This allows assertion failures and other errors that occcur after the async
error to be routed to the correct spec/suite.
Previously, Jasmine treated global errors and unhandled promise rejections
just like exceptions thrown from a synchronous spec: it recorded the error
as a spec failure and moved on. Now, global errors and uhandled rejections
are recorded as failures but the current queueable fn will continue until
it either signals completion or times out. Global errors and unhandled
rejections are different from synchronous exceptions: it's common for the
queueable fn that caused them to continue executing. Immediately moving on
often meant that the queueable fn would produce expectation failures or
other errors when a different spec or suite was running, thus causing
those failures to be routed to the wrong place.
2021-09-24 11:22:04 -07:00
Steve Gravrock
3a77ae3dfe
Throw if the argument to jasmine.clock().mockDate() is not a Date
2021-09-23 16:10:59 -07:00
Steve Gravrock
1332f01ca4
Merge branch '3.99' into 4.0
2021-09-23 16:08:44 -07:00
Steve Gravrock
64d58ed1f0
Deprecate non-Date arguments to jasmine.clock().mockDate()
2021-09-23 16:04:39 -07:00
Steve Gravrock
497a7fc3e5
Merge branch 'main' into 3.99
2021-09-23 15:49:47 -07:00
Steve Gravrock
1f318c3c93
Added missing @since annotations
2021-09-23 13:38:52 -07:00
Steve Gravrock
be29aa95eb
Improved jsdocs for asymmetric equality testers
2021-09-23 11:59:20 -07:00
Steve Gravrock
e3c9a59c6c
Added a stringContaining asymmetric equality tester
...
* Fixes #1923 .
2021-09-22 11:28:24 -07:00
Steve Gravrock
8d302d8dca
Merge branch '3.99' into 4.0
2021-09-20 15:57:37 -07:00
Steve Gravrock
00f6708e1f
Removed unused submodule
2021-09-18 09:43:02 -07:00
Steve Gravrock
760f2d9003
Removed additional Ruby support files
2021-09-18 09:40:30 -07:00
Steve Gravrock
6e10f22403
Don't display late errors as AfterAll errors in the HTML reporter
2021-09-11 08:57:50 -07:00
Steve Gravrock
d092a59bd1
Treat multiple calls to done callbacks as errors
2021-09-10 18:07:35 -07:00
Steve Gravrock
af5984d5d6
Fixed flake list
2021-09-10 17:53:59 -07:00
Steve Gravrock
15f7013f85
Merge branch '3.99' into 4.0
2021-09-08 21:04:10 -07:00
Steve Gravrock
be23836c9d
Deprecate multiple calls to done callbacks
2021-09-08 20:58:25 -07:00
Steve Gravrock
7944250290
Merge branch 'main' into 3.99
2021-09-06 17:39:28 -07:00
Steve Gravrock
3a47a3bd04
Fixed flaky spec
2021-09-06 15:35:37 -07:00
Steve Gravrock
1c9382c990
Dogfood the new jasmine-npm completion interface
2021-09-04 13:39:17 -07:00
Steve Gravrock
394be99832
Fixed sass deprecation warnings
...
See <https://sass-lang.com/documentation/breaking-changes/slash-div >.
[#179260511 ]
2021-09-03 15:51:51 -07:00
Steve Gravrock
bbcb5ff42f
Fixed linter & formatter issues in boot files
2021-09-03 15:46:23 -07:00
Steve Gravrock
6603ed7ddc
Don't distribute boot src files
...
[#179017951 ]
2021-09-03 15:42:06 -07: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
Steve Gravrock
37b9f8e420
Removed Ruby support
...
[#179247162 ]
2021-08-30 18:53:13 -07:00
Steve Gravrock
a63b0b0368
Merge branch '3.99' into 4.0
2021-08-30 18:44:32 -07:00
Steve Gravrock
de9815f436
Merge branch 'main' into 3.99
2021-08-30 18:41:02 -07:00
Steve Gravrock
62a667a8e3
Added a deprecation notice to the gem's description
...
[#179330717 ]
2021-08-30 18:37:31 -07:00
Steve Gravrock
d277827d5e
Fixed typo in 3.9.0 release notes
2021-08-21 19:09:01 -07:00
Steve Gravrock
644c175338
Print a deprecation message when the jasmine-core gem is loaded
...
[#179247158 ]
[#179247160 ]
2021-08-21 18:35:38 -07:00
Steve Gravrock
a6d7eb2a06
Bump version to 3.9.0
2021-08-21 12:00:23 -07:00
Steve Gravrock
2fd9d7b13f
Merge branch 'main' into 3.99
2021-08-17 17:08:34 -07:00
Steve Gravrock
dd8a65cb60
Better reporting of unhandled promise rejections with truthy but non-Error reasons on Node
...
[#179227413 ]
2021-08-14 14:03:03 -07:00
Steve Gravrock
e72d161fab
Return a promise from Env#execute in environments that support promises
...
[#178373231 ]
2021-08-07 13:05:55 -07:00
Steve Gravrock
4e96514634
Deprecated the Promise config setting
...
4.0 will only support environments that have native promises, so there will
no longer be a need for a user-supplied promise library
2021-08-07 12:04:14 -07:00
Steve Gravrock
d8862aa583
Removed the failFast and oneFailurePerSpec config properties
2021-07-31 09:28:14 -07:00
Steve Gravrock
2480a0a93a
Merge branch '3.99' into 4.0
2021-07-31 09:15:12 -07:00
Steve Gravrock
9c9836c5b3
Don't use deprecated config prooperties in boot*.js
2021-07-31 09:09:46 -07:00
Steve Gravrock
20b914c554
Deprecated the failFast and oneFailurePerSpec config properties
2021-07-31 08:42:01 -07:00
Steve Gravrock
058e77b824
Merge branch 'main' into 3.99
2021-07-31 08:15:29 -07:00
Steve Gravrock
dcaac62a6c
Updated deprecaton messages for Env#throwOnExpectationFailure() and Env#stopOnSpecFailure()
2021-07-31 08:02:39 -07:00
Steve Gravrock
b696bec9e3
Renamed failFast and oneFailurePerSpec config props to stopOnSpecFailure and stopSpecOnExpectationFailure
...
The new names are more self-explanatory and consistent with jasmine-npm. The
old names are deprecated but still work.
[#178682783 ]
2021-07-31 07:51:50 -07:00
Steve Gravrock
13dfcacbb0
Remove access to non-public properties of suites and specs returned by describe, it, etc.
...
[#179064612 ]
2021-07-30 17:36:50 -07:00
Steve Gravrock
6d002d22af
Merge branch '3.99' into 4.0
2021-07-29 21:46:48 -07:00
Steve Gravrock
799d9897fd
Deprecated access to non-public members in specs and suites returned from it(), describe(), etc.
2021-07-29 21:28:47 -07:00
Steve Gravrock
2a2a671b65
Don't deprecate access to Suite#id and Spec#id
2021-07-29 20:15:04 -07:00
Steve Gravrock
a0b4f3748d
Merge branch 'main' into 3.99
2021-07-29 20:09:25 -07:00
Steve Gravrock
43073b3bc5
Added API docs for Suite#id and Spec#id
...
These properties are the only way to obtain runnable IDs, without which
you can't call the form of Env#execute that takes an array of IDs.
2021-07-29 19:32:15 -07:00