text: 'use strict'
  
  const { readFile } = require('fs').promises
  const { resolve } = require('path')
  const test = require('ava')
  
  const metascraper = require('../../..')([
    require('metascraper-author')(),
    require('metascraper-date')(),
    require('metascraper-description')(),
    require('metascraper-video')(),
    require('metascraper-image')(),
    require('metascraper-lang')(),
    require('metascraper-logo')(),
    require('metascraper-logo-favicon')(),
    require('metascraper-manifest')(),
    require('metascraper-publisher')(),
    require('metascraper-title')(),
    require('metascraper-url')(),
    require('metascraper-readability')()
  ])
  
  const url =
    'http://www.crn.com/news/cloud/300080531/emc-world-sources-say-emc-will-target-aws-s3-with-new-easy-storage-connectivity-to-virtustream.htm'
  
  test('crn', async t => {
    const html = await readFile(resolve(__dirname, 'input.html'))
    const metadata = await metascraper({ html, url })
    t.snapshot(metadata)
  })
  