diff --git a/README.md b/README.md index 19d155c8..2d339867 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,9 @@ Microsoft Edge) as well as Node. | Environment | Supported versions | |-------------------|--------------------| | Node | 16, 18 | -| Safari | 14-16 | +| Safari | 15-16 | | Chrome | Evergreen | -| Firefox | Evergreen, 91, 102 | +| Firefox | Evergreen, 102 | | Edge | Evergreen | For evergreen browsers, each version of Jasmine is tested against the version of the browser that is available to us diff --git a/package.json b/package.json index 027134af..049d4fdc 100644 --- a/package.json +++ b/package.json @@ -101,10 +101,9 @@ } }, "browserslist": [ - "Safari >= 14", + "Safari >= 15", + "Firefox >= 102", "last 2 Chrome versions", - "last 2 Firefox versions", - "Firefox >= 91", "last 2 Edge versions" ] } diff --git a/scripts/run-all-browsers b/scripts/run-all-browsers index 6e096640..e5249010 100755 --- a/scripts/run-all-browsers +++ b/scripts/run-all-browsers @@ -26,10 +26,8 @@ failfile=`mktemp -t jasmine-results.XXXXXX` || exit 1 run_browser chrome latest run_browser firefox latest run_browser firefox 102 -run_browser firefox 91 run_browser safari 16 run_browser safari 15 -run_browser safari 14 run_browser MicrosoftEdge latest echo diff --git a/spec/core/ExceptionFormatterSpec.js b/spec/core/ExceptionFormatterSpec.js index 39c8f5f9..328945b5 100644 --- a/spec/core/ExceptionFormatterSpec.js +++ b/spec/core/ExceptionFormatterSpec.js @@ -257,17 +257,7 @@ describe('ExceptionFormatter', function() { }); }); - describe('In environments that support the cause property of Errors', function() { - beforeEach(function() { - const inner = new Error('inner'); - const outer = new Error('outer', { cause: inner }); - - if (!outer.cause) { - // Currently: Node 12, Node 14, Safari 14 - pending('Environment does not support error cause'); - } - }); - + describe('when the error has a cause property', function() { it('recursively includes the cause in the stack trace in this environment', function() { const subject = new jasmineUnderTest.ExceptionFormatter(); const rootCause = new Error('root cause');