Fix tests

This commit is contained in:
Hongbo Wu
2022-10-12 18:05:17 +08:00
parent 7a48cccac9
commit 19d0d314db
9 changed files with 65 additions and 84 deletions

View File

@ -39,7 +39,7 @@ describe('parseMetadata', async () => {
describe('parsePreparedContent', async () => {
it('gets published date when JSONLD fails to load', async () => {
const html = load('./test/utils/data/stratechery-blog-post.html')
const result = await parsePreparedContent('https://example.com/', {
const result = await parsePreparedContent('https://blog.omnivore.app/', {
document: html,
pageInfo: {},
})
@ -66,7 +66,7 @@ describe('parsePreparedContent', async () => {
</head>
<body>body</body>
</html>`
const result = await parsePreparedContent('https://example.com/', {
const result = await parsePreparedContent('https://blog.omnivore.app/', {
document: html,
pageInfo: {},
})