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
3e2872a1df
Merge branch 'main' into 3.99
2021-05-18 17:07:34 -07:00
Steve Gravrock
140225e7c3
Isolate specs that are flaky in browsers
...
* Don't run them in browsers in the regular CI build
* Run them in browsers in a special nightly build
* Run them in Node in the regular CI build
* Run them when developers manually run the suite
This should allow the regular CI build to give us a more useful signal,
while keeping us from losing sight of the flaky specs.
2021-05-15 07:44:25 -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
b7c2a2f6fb
Removed unused dev dependencies
2021-05-13 12:52:44 -07:00
Steve Gravrock
c5d4a40219
Deprecated Python
2021-05-08 12:06:49 -07:00
Steve Gravrock
c7c8b6b93e
Added Chrome back to CI browser list
2021-05-04 17:24:06 -07:00
Steve Gravrock
8a42437059
Added a note about testing on Windows to the releasing instructions
2021-05-04 09:28:35 -07:00
Steve Gravrock
cacc6f4278
Skip the middle Safari versions to speed up CI
2021-04-24 15:07:23 -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
5504965bea
Merge branch 'main' into 3.99
2021-04-23 08:40:25 -07:00
Steve Gravrock
d666f1efbb
Run browser tests on push, except for PRs
2021-04-23 08:39:02 -07:00
Steve Gravrock
4515b76f07
Run browser tests on all non-PR branches
2021-04-23 08:37:29 -07:00
Steve Gravrock
0897e31a2d
Run cron builds on 3.99 and 4.0 branches
2021-04-23 08:37:18 -07:00
Steve Gravrock
fb05da1fc3
Merge branch 'main' into 3.99
2021-04-22 17:23:08 -07:00
Steve Gravrock
9555cb9842
Pass Sauce tunnel identifier correctly
2021-04-17 16:14:45 -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
316ce1e2d3
Updated contributing guide etc.
2021-04-17 11:54:11 -07:00
Steve Gravrock
82cc1083b6
Migrated from Travis to Circle CI
2021-04-17 11:34:56 -07:00
Steve Gravrock
c2f04ba627
Further compensate for clock jitter
2021-04-17 11:34:56 -07:00
Steve Gravrock
97a46f4560
Fixed test failures on Safari 8 and 9
2021-04-17 11:34:56 -07:00
Steve Gravrock
113134cdbd
Fixed test failure in Firefox 68 ESR
2021-04-17 11:34:56 -07:00
Steve Gravrock
dad5f5fd6b
Fixed test failure in Safari 8
2021-04-17 11:34:53 -07:00
Alexander J. Vincent
fa72544974
CallTracker.thisFor(): add test for undefined context object.
2021-04-13 18:35:04 -07:00
Alexander J. Vincent
e303de52ed
Implement CallTracker.thisFor().
2021-04-11 22:59:43 -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
c6a79d3ab7
Merge branch 'patch-2' of https://github.com/UziTech/jasmine into main
...
* Merges #1892 from @UziTech
* Fixes config.seed type in jsdocs
2021-03-26 17:25:30 -07:00
Tony Brix
3f232fba80
docs: seed can be number or string
2021-03-26 00:10:15 -05:00
Tony Brix
cde6ea79a3
docs: fix jsdoc seed type
2021-03-25 22:05:02 -05:00
Steve Gravrock
0782a73a98
Merge branch 'array_buffer' of https://github.com/Finesse/jasmine into main
...
* Adds support for ArrayBuffers to matchersUtil.equals
* Merges #1891 from @Finesse
* Merges #1689 from @dankurka
* Fixes #1687
2021-03-22 13:06:40 -07:00
Surgie Finesse
37073e2768
Fix the review notices
2021-03-22 19:26:33 +10:00
Surgie Finesse
f7f928fdd3
Merge remote-tracking branch 'upstream/main' into array_buffer
...
# Conflicts:
# spec/core/matchers/matchersUtilSpec.js
2021-03-22 18:33:50 +10:00
Steve Gravrock
503b653a10
Travis browser matrix updates
...
* Added latest Safari
* Added the Firefox version that's closest to current ESR
2021-03-21 11:30:21 -07:00
Steve Gravrock
cb044aa273
Bump version to 3.7.1
2021-03-18 17:28:04 -07:00
Steve Gravrock
5c17456925
Updated release instructions
2021-03-17 19:44:16 -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
050c1f051c
Fixed intermittent test failures
2021-03-14 12:23:17 -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
de91427356
Fixed instructions for running Jasmine's ci script
2021-03-14 11:43:38 -07:00
Steve Gravrock
324bc201c2
Built distribution
2021-03-13 13:52:10 -08:00
Steve Gravrock
76f34e90dc
Allow custom object formatters to be added in beforeAll
...
Fixes #1876 .
2021-03-13 13:49:30 -08:00
Steve Gravrock
46e7158c77
Removed unused util.htmlEscape
2021-03-04 12:46:23 -08:00
Steve Gravrock
9ab039e330
Merge branch 'expectAllTruthyAndFalsy' of https://github.com/yasinkocak/jasmine into main
...
* Merges #1875 from @yasinkocak
* Adds additional assertions to tests for toBeTruthy and toBeFalsy
2021-02-27 10:31:31 -08:00