     atom.config.set('editor.preferredLineLength', softWrapColumn)
 
   it "properly renders soft-wrapped lines when randomly mutated", ->
-    previousSteps = JSON.parse(localStorage.steps ? '[]')
-
     times 10, (i) ->
       buffer = new TextBuffer
       editor = new TextEditor({buffer})

TextEditor = require '../src/text-editor'

describe "TextEditor", ->
  [editor, tokenizedBuffer, buffer, steps, previousSteps] = []

  softWrapColumn = 80


    {bufferRows, screenLines} = getReferenceScreenLines()
    for bufferRow, screenRow in bufferRows
      console.log screenRow, bufferRow, screenLines[screenRow].text
    console.log "==== steps to reproduce this failure: ==="
    for step in steps
      console.log 'editor.' + step[0] + '('+ step[1..].map((a) -> JSON.stringify(a)).join(', ') + ')'

  randomlyMutateEditor = ->
    if Math.random() < .2
