Skip to content

Commit

Permalink
test: skip problematic iframe tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Aug 15, 2023
1 parent aacc878 commit 1aeebde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/metascraper/test/integration/acast/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const metascraper = require('../../..')([

const url = 'https://play.acast.com/s/saywhytodrugs/caffeine'

test('acast', async t => {
;(process.env.CI ? test.skip : test)('acast', async t => {
const html = await readFile(resolve(__dirname, 'input.html'))
const metadata = await metascraper({ html, url })
t.snapshot(metadata)
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper/test/integration/bloomberg/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const metascraper = require('../../..')([
const url =
'http://www.bloomberg.com/news/articles/2016-05-24/as-zenefits-stumbles-gusto-goes-head-on-by-selling-insurance'

test('bloomberg', async t => {
;(process.env.CI ? test.skip : test)('bloomberg', async t => {
const html = await readFile(resolve(__dirname, 'input.html'))
const metadata = await metascraper({ html, url })
t.snapshot(metadata)
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper/test/integration/engadget/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const metascraper = require('../../..')([
const url =
'https://www.engadget.com/2019/01/07/all-github-users-keep-code-private'

test('engadget', async t => {
;(process.env.CI ? test.skip : test)('engadget', async t => {
const html = await readFile(resolve(__dirname, 'input.html'))
const metadata = await metascraper({ html, url })
t.snapshot(metadata)
Expand Down

0 comments on commit 1aeebde

Please sign in to comment.