// jshint esversion: 6
'use strict';

var _utils = require("./utils");

describe('utils', function () {
  it('duration formating (mm:ss) (less than hour)', function () {
    var result = (0, _utils.formatSeconds)(1);
    expect(result).toBe('00:01');
  });
  it('duration formating (H:mm:ss) (greater than or equal to hour)', function () {
    var result = (0, _utils.formatSeconds)(60 * 60 + 1);
    expect(result).toBe('1:00:01');
  });
});