import assert from 'assert';
import cheerio from 'cheerio';
import normalizeMetaTags from './normalize-meta-tags';
describe('normalizeMetaTags($)', () => {
it('replaces "content" attributes with "value"', () => {
const html = '';
const test = '';
// browser cheerio/jquery will remove/replace html, so result
// is different
const testBrowser = '';
const $ = cheerio.load(html);
const result = normalizeMetaTags($).html();
assert.equal(result, cheerio.browser ? testBrowser : test);
});
it('replaces "property" attributes with "name"', () => {
const html = '';
const test = '';
const testBrowser = '';
const $ = cheerio.load(html);
const result = normalizeMetaTags($).html();
assert.equal(result, cheerio.browser ? testBrowser : test);
});
});