mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Merge pull request #16922 from atom/mb-dont-load-config-settings-in-tests
Fix regression where config file was loaded in specs
This commit is contained in:
@@ -57,7 +57,9 @@ class AtomWindow extends EventEmitter {
|
||||
|
||||
Object.defineProperty(this.browserWindow, 'loadSettingsJSON', {
|
||||
get: () => JSON.stringify(Object.assign({
|
||||
userSettings: this.atomApplication.configFile.get()
|
||||
userSettings: !this.isSpec
|
||||
? this.atomApplication.configFile.get()
|
||||
: null
|
||||
}, this.loadSettings)),
|
||||
configurable: true
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user