Dropped support for Safari 14 and Firefox 91
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user