Skip to content

Commit

Permalink
Remove unnecesary test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Sep 1, 2018
1 parent 97fcfae commit fe3efa6
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions packages/metascraper/test/unit/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,3 @@ it('load extra rules', async () => {
const meta = await metascraper({ url, html, rules })
should(meta.foo).equal('bar')
})

it('core bundle rules expose validator', () => {
const rules = [
require('metascraper-author'),
require('metascraper-date'),
require('metascraper-description'),
require('metascraper-image'),
require('metascraper-title'),
require('metascraper-url'),
require('metascraper-lang'),
require('metascraper-logo'),
require('metascraper-video'),
require('metascraper-publisher')
]

rules.forEach(rule => {
should(rule.validator).be.type('function')
})
})

0 comments on commit fe3efa6

Please sign in to comment.