hunk.code_window:     startOfHour(date)
       expect(date).to.be.eql(new Date('2014-09-02T11:55:00'))
     })
     it('accepts timestamp as a date', function() {
  
hunk.labels: keep replace keep keep keep
hunk.after_edit:     expect(date).to.be.eql(new Date(2014, 8 /* Sep */, 2, 11, 55))
  
hunk.file_path: src/__tests__/start_of_hour_test.js
hunk.type: replace
file: var addMinutes = require('./add_minutes')
  
  /**
   * Subtracts specified number of minutes from passed date.
   * @param {data|string} dirtyDate
   * @param {number} amount of minutes
   * @returns {date} new date
   */
  var subMinutes = function(dirtyDate, amount) {
    return addMinutes(dirtyDate, -amount)
  }
  
  module.exports = subMinutes
  
  