mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
refactor: replace .forEach() with for-of (#39691)
* refactor: replace `.forEach()` with `for-of` * refactor docs/fiddles/features/web-hid/renderer.js
This commit is contained in:
@@ -1229,9 +1229,9 @@ describe('app module', () => {
|
||||
'http://',
|
||||
'https://'
|
||||
];
|
||||
protocols.forEach((protocol) => {
|
||||
for (const protocol of protocols) {
|
||||
expect(app.getApplicationNameForProtocol(protocol)).to.not.equal('');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
it('returns an empty string for a bogus protocol', () => {
|
||||
|
||||
Reference in New Issue
Block a user