hunk.code_window:   })
     it('accepts string as a date', function() {
       var date = startOfHour('2014-12-01T12:35:00')
       // We use Date.UTC here, because string '2014-12-01T12:35:00' is in UTC format
       expect(date).to.be.eql(new Date(Date.UTC(2014, 11, 1, 12, 0)))
     })
   })
  
hunk.labels: keep keep keep replace replace replace keep keep keep
hunk.after_edit:     var date = new Date(2014, 11 /* Dec */, 1, 12, 45).toISOString()
       var result = startOfHour(date)
       expect(result).to.be.eql(new Date(2014, 11, 1, 12, 0))
  
hunk.file_path: src/__tests__/start_of_hour_test.js
hunk.type: replace
file: var addHours = require('../add_hours')
  
  describe('addHours', function() {
    it('adds numbers of passed hours', function() {
      var result = addHours(new Date(2014, 6 /* Jul */, 10, 23, 0), 2)
      expect(result).to.be.eql(new Date(2014, 6 /* Jul */, 11, 1, 0))
    })
  
    it('accepts string', function() {
      var result = addHours(
        new Date(2014, 6 /* Jul */, 10, 23, 0).toISOString(), 26
      )
      expect(result).to.be.eql(new Date(2014, 6 /* Jul */, 12, 1, 0))
    })
  
    it('accepts timestamp', function() {
      var result = addHours(
        new Date(2014, 6 /* Jul */, 10, 23, 0).getTime(), 26
      )
      expect(result).to.be.eql(new Date(2014, 6 /* Jul */, 12, 1, 0))
    })
  
    it('does not mutate original date', function() {
      var date = new Date(2014, 6 /* Jul */, 10, 23, 0)
      addHours(date, 10)
      expect(date).to.be.eql(new Date(2014, 6 /* Jul */, 10, 23, 0))
    })
  })
  
  