mirror of
https://github.com/electron/electron.git
synced 2026-02-04 20:25:19 -05:00
refactor: add prefer-const to .eslintrc + fix errors (#14880)
This commit is contained in:
committed by
Samuel Attard
parent
07161a8452
commit
3ad3ade828
@@ -11,7 +11,7 @@ describe('systemPreferences module', () => {
|
||||
})
|
||||
|
||||
it('should return a non-empty string', () => {
|
||||
let accentColor = systemPreferences.getAccentColor()
|
||||
const accentColor = systemPreferences.getAccentColor()
|
||||
assert.notStrictEqual(accentColor, null)
|
||||
assert(accentColor.length > 0)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user