mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Add a spec for the scoped setting
This commit is contained in:
@@ -3822,6 +3822,8 @@ describe "TextEditor", ->
|
||||
expect(editor.getSoftTabs()).toBe false
|
||||
atom.config.set('editor.tabType', 'auto')
|
||||
expect(editor.getSoftTabs()).toBe true
|
||||
atom.config.set('editor.tabType', 'hard', scopeSelector: '.source.js')
|
||||
expect(editor.getSoftTabs()).toBe false
|
||||
|
||||
waitsForPromise ->
|
||||
atom.workspace.open('sample-with-tabs.coffee').then (editor) ->
|
||||
|
||||
Reference in New Issue
Block a user