Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jul 25, 2017
1 parent b4239be commit f58cccd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/web/wikipedia/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ const fs = require('fs')
const getMetaData = require('../../..')
const readFile = promisify(fs.readFile)

it('wired', async () => {
it('wikipedia', async () => {
const html = await readFile(resolve(__dirname, 'input.html'))
const json = await loadJSON(resolve(__dirname, 'output.json'))
const metadata = await getMetaData({html})
console.log(JSON.stringify(metadata, null, 2))
should(metadata).be.eql(json)
})

0 comments on commit f58cccd

Please sign in to comment.