       state: "unpinned"
     result = shouldUpdate(110, 100, propDefaults, state)
     expect(result.action).to.equal('none')
-
-    # Restore default
-    propDefaults.upTolerance = 0
 
   it "should return an action of 'none' if haven't scrolled
       past height of header", ->

      state: "pinned"
    result = shouldUpdate(50, 80, propDefaults, state)
    expect(result.action).to.equal('none')
    
  it "should return an action of 'none' if scrolling up when pinned within
      height of header or at the top", ->
    state =

    result = shouldUpdate(100, 110, propDefaults, state)
    expect(result.action).to.equal('none')

  it 'should return an action of "pin" if scrolling up and unpinned', ->
    state =
      height: 0
