refactor: use optional catch binding (#39232)
This commit is contained in:
parent
8dea783805
commit
c9bae5da8e
11 changed files with 17 additions and 17 deletions
|
@ -2032,7 +2032,7 @@ describe('<webview> tag', function () {
|
|||
// Values can be 0,2,3,4, or 6. We want 6, which is RGB + Alpha
|
||||
expect(imgBuffer[25]).to.equal(6);
|
||||
return;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
/* drop the error */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue