mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 07:58:04 +03:00
Test correct editor in font size spec
This commit is contained in:
parent
16c892caa6
commit
471ac4976f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user