mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Set defaults after spying on save
This commit is contained in:
parent
b801c3ce56
commit
fb02917adf
@ -77,10 +77,10 @@ beforeEach ->
|
|||||||
config = new Config
|
config = new Config
|
||||||
resourcePath: window.resourcePath
|
resourcePath: window.resourcePath
|
||||||
configDirPath: atom.getConfigDirPath()
|
configDirPath: atom.getConfigDirPath()
|
||||||
config.setDefaults('core', RootView.configDefaults)
|
|
||||||
config.setDefaults('editor', Editor.configDefaults)
|
|
||||||
spyOn(config, 'load')
|
spyOn(config, 'load')
|
||||||
spyOn(config, 'save')
|
spyOn(config, 'save')
|
||||||
|
config.setDefaults('core', RootView.configDefaults)
|
||||||
|
config.setDefaults('editor', Editor.configDefaults)
|
||||||
config.set "editor.fontFamily", "Courier"
|
config.set "editor.fontFamily", "Courier"
|
||||||
config.set "editor.fontSize", 16
|
config.set "editor.fontSize", 16
|
||||||
config.set "editor.autoIndent", false
|
config.set "editor.autoIndent", false
|
||||||
|
Loading…
Reference in New Issue
Block a user