"use strict";

var _getFileExt = _interopRequireDefault(require("./getFileExt"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

test('Returns correct extension', () => {
  const filenames = ['01. test.en.mp4', 'test.en.mp4', 'test.en.mp4'];
  const correct = '.en.mp4';

  for (let i = 0, len = filenames.length; i < len; i += 1) {
    expect((0, _getFileExt.default)(filenames[i])).toBe(correct);
  }
});