mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
19 lines
360 B
CoffeeScript
19 lines
360 B
CoffeeScript
fs = require 'fs'
|
|
require 'benchmark-helper'
|
|
|
|
describe "Editor", ->
|
|
editor = null
|
|
|
|
beforeEach ->
|
|
window.rootViewParentSelector = '#jasmine-content'
|
|
window.startup()
|
|
editor = rootView.editor
|
|
|
|
afterEach ->
|
|
window.shutdown()
|
|
|
|
benchmark "inserting and deleting a character", ->
|
|
editor.hiddenInput.textInput('x')
|
|
editor.backspace()
|
|
|