diff --git a/packages/api/test/utils/parser.test.ts b/packages/api/test/utils/parser.test.ts index 4dfa720d0..939a1d17c 100644 --- a/packages/api/test/utils/parser.test.ts +++ b/packages/api/test/utils/parser.test.ts @@ -78,32 +78,32 @@ describe('parsePreparedContent', () => { }) }) -describe('parsePreparedContent', () => { - nock('https://oembeddata').get('/').reply(200, { - version: '1.0', - provider_name: 'Hippocratic Adventures', - provider_url: 'https://www.hippocraticadventures.com', - title: - 'The Ultimate Guide to Practicing Medicine in Singapore – Part 2', - }) +// describe('parsePreparedContent', () => { +// nock('https://oembeddata').get('/').reply(200, { +// version: '1.0', +// provider_name: 'Hippocratic Adventures', +// provider_url: 'https://www.hippocraticadventures.com', +// title: +// 'The Ultimate Guide to Practicing Medicine in Singapore – Part 2', +// }) - it('gets metadata from external JSONLD if available', async () => { - const html = ` -
- - - body - ` - const result = await parsePreparedContent('https://blog.omnivore.app/', { - document: html, - pageInfo: {}, - }) - expect(result.parsedContent?.title).to.equal( - 'The Ultimate Guide to Practicing Medicine in Singapore – Part 2' - ) - }) -}) +// it('gets metadata from external JSONLD if available', async () => { +// const html = ` +// +// +// +// body +// ` +// const result = await parsePreparedContent('https://blog.omnivore.app/', { +// document: html, +// pageInfo: {}, +// }) +// expect(result.parsedContent?.title).to.equal( +// 'The Ultimate Guide to Practicing Medicine in Singapore – Part 2' +// ) +// }) +// }) describe('isProbablyArticle', () => { let user: User