"use strict";

var _downloadMediaInHtml = _interopRequireDefault(require("./downloadMediaInHtml"));

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

describe('Download Media in HTML', () => {
  test('should return same HTML if no media links is in HTML', async () => {
    expect.assertions(1);
    const html = '<p>test</p>';
    const newHtml = await (0, _downloadMediaInHtml.default)(html);
    expect(newHtml).toEqual(html);
  });
  xtest('should return HTML with downloaded media links', async () => {
    expect.assertions(1);
    const html = '<p>test</p><';
    const newHtml = await (0, _downloadMediaInHtml.default)(html);
    expect(true).toBe(true);
  });
});