Steve Gravrock
04133264e0
Bump version to 4.1.0
2022-04-11 20:24:42 -07:00
Steve Gravrock
fb639d0f55
toBeCloseTo treats Infinity and -Infinity as close to themselves
...
* Fixes #1957
2022-04-09 11:14:24 -07:00
Tobias Speicher
aa979277fb
refactor: replace deprecated String.prototype.substr()
...
.substr() is deprecated so we replace it with functions which work similarily but aren't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
2022-03-25 16:03:46 +01:00
Steve Gravrock
1e0c312f9f
Merge branch 'main' of https://github.com/nitobuendia/jasmine
...
* Adds toHaveSpyInteractions matcher
* Merges #1959 from @nitobuenida
* Fixes #1568
2022-03-18 11:10:39 -07:00
Steve Gravrock
dfa5b6a53d
Pretty-print [new String("")] as "[ '' ]" not "[]"
2022-03-14 18:47:23 -07:00
Steve Gravrock
502cb24bb8
Merge branch '4.0.1'
2022-02-21 17:08:11 -08:00
Steve Gravrock
0ae234dc6e
Bump version to 4.0.1
2022-02-21 16:58:32 -08:00
Steve Gravrock
38d102f1d1
Merge branch '3.99.1' into 4.0.1
2022-02-21 16:45:34 -08:00
Steve Gravrock
906f37fe52
Bump version to 3.99.1
2022-02-21 16:30:15 -08:00
Steve Gravrock
9d9e8f0c17
Lint fixes
2022-02-19 12:33:19 -08:00
Steve Gravrock
4059ab7ba6
Don't report a deprecation when a promise is resolved to something
...
beforeEach(() => somePromiseReturningFn()) is likely a common idiom
and we don't want to treat it as an error.
* Fixes #1958
2022-02-19 12:28:47 -08:00
Steve Gravrock
b0034797fe
Merge branch 'fix-save-args-by-value' of https://github.com/coyoteecd/jasmine
...
* Fixes cloning of Date objects in saveArgumentsByValue()
* Merges #1955 from @coyoteecd
* Fixes #1885
2022-02-02 21:18:38 -08:00
Steve Gravrock
9e10743a1c
Include the name of the suite in the empty suite error message
2022-01-17 15:08:56 -08:00
Steve Gravrock
6e3128c792
Merge branch 'SymboltoEqual' of https://github.com/laeleoni/jasmine
...
* Merges #1879 from @laeleoni
* Fixes #1879
2022-01-15 11:44:53 -08:00
Steve Gravrock
98c2f019c6
Bump version to 4.0.0
2022-01-01 12:43:29 -08:00
Steve Gravrock
6da7a32442
Merge branch '4.0'
2022-01-01 12:00:46 -08:00
Steve Gravrock
58d13570ac
Bump version to 3.99.0
2022-01-01 10:47:59 -08:00
Steve Gravrock
005648acd8
Built distribution
2022-01-01 10:46:15 -08:00
Steve Gravrock
d963be5eec
Log a deprecation warning on reentrant calls to Clock#tick
...
See #1929
2021-12-31 11:38:01 -08:00
James Bromwell
c56631175f
Fix time-travel in delayed function scheduler
2021-12-29 17:50:48 +01:00
Steve Gravrock
c431590d65
Fixed reporting of suites that are skipped due to a beforeAll failure
2021-12-20 13:39:24 -08:00
Steve Gravrock
656e6614da
Built distribution
2021-12-15 20:36:44 -08:00
Steve Gravrock
ca90c76d12
Merge branch '3.99' into 4.0
2021-12-14 08:27:05 -08:00
Steve Gravrock
57c294b307
Added a migration guide link to multiple done call deprecations
2021-12-14 08:16:06 -08:00
Steve Gravrock
30b93ccdbb
Updated jsdocs for Env#execute
2021-12-11 15:53:25 -08:00
Steve Gravrock
067b91b3ef
Removed IE/PhantomJS support code
2021-12-11 14:57:41 -08:00
Steve Gravrock
0b1385c3d3
Report start and end events for specs/suites that are skipped due to a beforeAll error
...
This is noisier, but it maintains compatibility with reporters that assume
(quite reasonably) that all specs and suites are either filtered out or
reported.
2021-12-11 12:34:23 -08:00
Steve Gravrock
f1cf6ee419
Resolve the execute() promise to the entire JasmineDoneInfo
...
This matches jasmine-npm.
2021-12-09 18:18:36 -08:00
Steve Gravrock
75e3e14861
Merge remote-tracking branch 'upstream/safari-15' into 4.0
2021-12-07 17:03:40 -08:00
Steve Gravrock
ce7460d8d4
Fixed stack trace filtering on Safari 15
2021-12-07 16:50:07 -08:00
Steve Gravrock
40fac8b6a2
Renamed the trace feature to debugLog[s]
...
"trace" was ambiguous and could easily be understood to have something
to do with stack traces.
2021-12-02 14:46:56 -08:00
Steve Gravrock
d739c23401
Resolve the promise returned by Env#execute to the overall status
2021-12-02 12:40:14 -08:00
Steve Gravrock
42e6c45efa
Allow use without creating globals
...
* Fixes #1235
2021-11-29 20:37:07 -08:00
Steve Gravrock
5942654856
Merge branch '3.99' into 4.0
2021-11-26 13:27:57 -08:00
Steve Gravrock
f3b26a0688
Merge branch 'main' into 3.99
2021-11-26 13:25:14 -08:00
Steve Gravrock
439be97c34
Rephrased note about verboseDeprecations
2021-11-24 11:45:32 -08:00
Steve Gravrock
871ba99a30
Allow custom spy strategies to be inherited like other runnable resources
2021-11-17 12:50:16 -08:00
Steve Gravrock
7a685b16f6
Removed duplicate message from errors (incl. matcher failures) on V8
2021-11-16 12:52:07 -08:00
Steve Gravrock
2a049015b0
Use custom equality testers in Spy#withArgs
...
Fixes #1836 .
2021-11-15 18:55:09 -08:00
Steve Gravrock
e86a7f00a6
Bump version to 3.10.1
2021-10-22 16:15:54 -07:00
Jan Molak
504ef27899
Fixed result.pendingReason for specs marked with xit. Closes #1939
2021-10-22 14:12:28 -07:00
Steve Gravrock
8e74529631
Merge branch '3.99' into 4.0
2021-10-15 10:37:51 -07:00
Steve Gravrock
b13329114c
Set version to 3.99.0-dev
2021-10-15 10:33:21 -07:00
Steve Gravrock
ab34f272da
Merge branch 'main' into 3.99
2021-10-15 10:29:50 -07:00
Steve Gravrock
896412367a
Bump version to 3.10.0
2021-10-13 15:46:21 -07:00
Steve Gravrock
503a7409f0
Merge branch 'issue-1854-asyncerror' of https://github.com/AndreWillomitzer/jasmine into main
...
* Improves error message when an async expectation occurs after the spec
finishes
* Merges #1937 from @AndreWillomitzer
* Fixes #1854
2021-10-12 17:15:53 -07:00
Steve Gravrock
c1db8f2f82
Clarified deprecation message for this in describes
2021-10-12 15:40:13 -07:00
Steve Gravrock
41f5c53959
Consistently identify clenaup fns by a type tag, not position
...
This was already done for everything except spec cleanup fns, since the
various skip policies need to know the difference between afterEach and
afterAll.
2021-10-11 18:05:57 -07:00
Steve Gravrock
25c3f06839
Run afterAll fns after failure even if stopOnSpecFailure is true
...
[#160905297 ]
2021-10-08 14:19:56 -07:00
Steve Gravrock
976928c7ae
Set version to 4.0.0-pre.0
2021-10-08 08:48:22 -07:00