mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-27 08:32:30 +03:00
Set core/editor config defaults in spec helper
This commit is contained in:
parent
e31dbfd7d6
commit
b801c3ce56
@ -77,6 +77,8 @@ 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.set "editor.fontFamily", "Courier"
|
config.set "editor.fontFamily", "Courier"
|
||||||
|
Loading…
Reference in New Issue
Block a user