Steve Gravrock
5862b22aef
Include rejection details in failure messages for toBeResolved and toBeResolvedWith
...
[#178559119 ]
2021-06-21 16:43:51 -07:00
Steve Gravrock
163f93d6ff
Removed constructors from jsdocs of classes that aren't user-constructable
2021-06-21 14:19:31 -07:00
Steve Gravrock
1893bf6c16
Added jsdocs for asymmetric equality testers
2021-06-21 14:09:14 -07:00
Steve Gravrock
68db3f6fcf
Merge branch 'select-spec' of https://github.com/jlpstolwijk/jasmine into main
...
* Merges #1907 from @jlpstolwijk
* Fixes #1906
* Fixes spec filtering in karma-jasmine-html-reporter
2021-06-14 17:59:29 -07:00
Steve Gravrock
f2de1be96a
Fixed "stop spec on expectation failure" checkbox in standalone
...
Fixes [#178248968 ].
2021-06-01 08:49:34 -07:00
Steve Gravrock
00c1e3d608
Deprecate access to non-public Suite and Spec members via Env#topSuite
...
The deprecation warning relies on Proxy, and won't work in environments
that don't have it. Among Jasmine's supported environments, that's Safari 9,
Safari 8, and all versions of IE.
2021-05-29 15:45:10 -07:00
Steve Gravrock
6a2a30d540
Improved & unified deprecation handling
...
* De-duplication now happens in core, not in reporters. This ensures that
the console doesn't get flooded.
* Stack traces are opt-out, not opt-in.
* The current runnable is not reported or logged for certain deprecations
where it's irrelevant.
* HtmlReporter shows stack traces in expandable widgets.
* Env#deprecated and Env#deprecatedOnceWithStack are merged.
2021-05-29 15:39:28 -07:00
Steve Gravrock
5f4a1c4276
Merge branch 'issue/1897' of https://github.com/Dari-K/jasmine into main
...
* Adds option for spyOnAllFunctions to include non-enumerable props
* Merges #1909 from @Dari-k
* Fixes #1897
2021-05-26 17:44:54 -07:00
Steve Gravrock
61fb353197
Deprecate access to Suite objects via this in describes
...
Jasmine 1.x exposed Suite objects to user code as the `this` in describe
functions. That should have been removed in 2.0 but it was missed. It
will be removed in 4.0. This change adds a deprecation warning if anything
on a describe's `this` is accessed.
The deprecation warning relies on Proxy, and won't work in environments
that don't have it. Among Jasmine's supported environments, that's Safari 9,
Safari 8, and all versions of IE. In those browsers, a describe's `this`
will still be a Suite for now, but there will be no deprecation warnings.
2021-05-22 09:07:31 -07:00
Steve Gravrock
9065b4c3b7
Added a jsdoc cross-reference from Configuration to its usage
2021-05-21 17:13:07 -07:00
Steve Gravrock
3e2872a1df
Merge branch 'main' into 3.99
2021-05-18 17:07:34 -07:00
Steve Gravrock
8b38389d56
Test against Node 16
...
* Replaced node-sass dependency that isn't compatible with Node 16
* Added Node 16 to CI matrix
* Fixes #1894
2021-05-13 17:18:57 -07:00
Steve Gravrock
c5d4a40219
Deprecated Python
2021-05-08 12:06:49 -07:00
Steve Gravrock
d815e99456
Added jsdocs for Spy.callData.returnValue
2021-04-24 14:57:33 -07:00
Steve Gravrock
5e3f937221
Added a note about correct usage of async matchers
2021-04-24 12:43:25 -07:00
Steve Gravrock
fb05da1fc3
Merge branch 'main' into 3.99
2021-04-22 17:23:08 -07:00
Steve Gravrock
d6fa9dd1a0
Fixed jsdocs for Spy#calls#thisFor
2021-04-17 12:32:59 -07:00
Steve Gravrock
25fbe0646a
Merge branch 'spy-calls-thisFor' of https://github.com/ajvincent/jasmine into main
...
* Merges #1903 from @ajvincent
* Adds Spy#calls#thisFor
2021-04-17 12:14:41 -07:00
Steve Gravrock
5f9315731e
Improved handling of unhandled promise rejections with no error in Node
...
* Fixes #1759
2021-04-06 18:48:56 -07:00
Steve Gravrock
ce850c472a
API docs for Env#topSuite and Suite
2021-04-03 11:09:30 -07:00
Steve Gravrock
8b3a6561b1
Merge branch 'main' into 3.99
2021-04-02 11:35:30 -07:00
Steve Gravrock
2fc5182ddc
Added missing jsdocs
...
* Env#execute
* Env#allowRespy
* Enough of Spec to support spec filters
2021-03-31 18:16:58 -07:00
Steve Gravrock
6be2102b64
Built distribution
2021-03-26 17:27:14 -07:00
Steve Gravrock
cb044aa273
Bump version to 3.7.1
2021-03-18 17:28:04 -07:00
Steve Gravrock
592fba22b8
Bump version to 3.7.0
2021-03-17 18:38:34 -07:00
Steve Gravrock
58ef707bc6
Added jasmine.isSpy to the public interface
...
* Fixes #1880
2021-03-17 17:58:51 -07:00
Steve Gravrock
8d0c52e2ec
Temporarily removed global error handler stack validation
...
This fails somewhat frequently (every 2-4 runs of Jasmine's own test
suite) on Safari. Until we get to the bottom of that, it's removed.
2021-03-14 11:46:23 -07:00
Steve Gravrock
324bc201c2
Built distribution
2021-03-13 13:52:10 -08:00
Steve Gravrock
1320b0614f
Merge branch 'use-global-onerror' into main
...
* Merges #1860 from @greghuc
* Allows specs to disable Jasmine's global error handling by overwriting
`onerror`.
2020-11-24 11:13:24 -08:00
Steve Gravrock
89331bb1bb
Fixed comparison between URL objects
...
* Fixes #1866
2020-11-21 13:47:44 -08:00
Steve Gravrock
88de272c89
Merge branch 'main' of https://github.com/JannesMeyer/jasmine into main
...
* Merges #1862 from @JannesMeyer
* Adds support for stack traces created by `node --enable-source-maps`
with tools like the Typescript compiler.
2020-11-09 12:15:37 -08:00
Steve Gravrock
cd1131354b
Merge branch 'enumerable' of https://github.com/DCtheTall/jasmine into main
...
* Merges #1859 from DCtheTall
* Fixes #1837
2020-10-10 18:01:48 -07:00
Steve Gravrock
c24aef15b1
Built distribution
2020-10-10 18:00:09 -07:00
Steve Gravrock
7a38db2e32
Fixed deprecations triggered from within asymmetricEqualityTesterArgCompatShim
2020-09-17 13:26:35 -07:00
Steve Gravrock
a1f1b4ae0f
Merge branch 'main' into 3.99
2020-09-14 18:39:32 -07:00
Steve Gravrock
795651d3b6
Removed debugger statements
2020-09-13 13:40:15 -07:00
Steve Gravrock
e7daa429a1
Show the name of the spec/suite that caused a deprecation
2020-09-13 12:59:25 -07:00
Steve Gravrock
51ad18cb28
Warn if a runable both takes a callback and returns a promise
2020-09-13 12:47:24 -07:00
Steve Gravrock
0b81705c11
Detect global error handler stack corruption
2020-09-02 14:43:17 -07:00
Steve Gravrock
00feef8632
Fixed global error handler stack corruption in Jasmine's own tests
2020-09-02 14:01:57 -07:00
Steve Gravrock
8cb44582bc
Don't overwrite MatchersUtil methods with ones that were added to Array.prototype, esp. contains
...
Fixes #1849 .
2020-09-01 15:18:53 -07:00
Steve Gravrock
53d8073707
Allow generator functions to be passed to .and.callFake
...
Fixes #1848 .
2020-08-29 13:15:14 -07:00
Steve Gravrock
e0eb4755cb
Merge branch 'fix-to-be-pending-typo' of https://github.com/SnailCoil/jasmine into main
...
* Merges #1847 from @SnailCoil
2020-08-20 17:51:02 -07:00
Steve Gravrock
6b9739030d
Fixed future deprecations
2020-08-02 12:57:28 -07:00
Steve Gravrock
0cfeb0b9c3
Fixed link to custom object formatter tutorial
2020-07-23 16:36:56 -07:00
Steve Gravrock
d51da18808
Bump version to 3.6.0
2020-07-23 16:02:30 -07:00
Steve Gravrock
d04b813cab
Merge https://github.com/buildgroundwork/jasmine
...
* Merges #1766 from @amilligan
2020-07-16 10:18:08 -07:00
Steve Gravrock
70c416d5c9
Fixed jsdocs for recent additions
2020-07-10 15:41:02 -07:00
Steve Gravrock
aa6cc31057
Show diffs involving root-level asymmetric equality testers
...
* Fixes #1831
2020-07-08 17:02:11 -07:00
Steve Gravrock
f8ae3eaeaa
Built distribution
2020-07-08 16:53:53 -07:00