mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Test correct editor in font size spec
This commit is contained in:
@@ -320,8 +320,9 @@ describe "Editor", ->
|
||||
expect(editor.verticalScrollbarContent.height()).toBe buffer.getLineCount() * editor.lineHeight
|
||||
|
||||
newEditor = new Editor(editor.activeEditSession.copy())
|
||||
editor.remove()
|
||||
newEditor.attachToDom()
|
||||
expect(editor.css('font-size')).toBe '30px'
|
||||
expect(newEditor.css('font-size')).toBe '30px'
|
||||
|
||||
it "updates the position and size of selection regions", ->
|
||||
config.set("editor.fontSize", 10)
|
||||
|
||||
Reference in New Issue
Block a user