diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-01-26 11:25:52 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-01-26 11:25:52 -0600 |
commit | 7e3f6f030680a8cf7b5baa3ce6f33acd5766fca8 (patch) | |
tree | 38ad7a0c586caa6cd0635653cb812d602210b718 /__tests__/lib/extractHtmlMeta.test.ts | |
parent | c4ba5e7fd507a2f5295fd3fcbcea0796223c744c (diff) | |
download | voidsky-7e3f6f030680a8cf7b5baa3ce6f33acd5766fca8.tar.zst |
Fix all type errors
Diffstat (limited to '__tests__/lib/extractHtmlMeta.test.ts')
-rw-r--r-- | __tests__/lib/extractHtmlMeta.test.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/__tests__/lib/extractHtmlMeta.test.ts b/__tests__/lib/extractHtmlMeta.test.ts index c33084072..18a0df4c7 100644 --- a/__tests__/lib/extractHtmlMeta.test.ts +++ b/__tests__/lib/extractHtmlMeta.test.ts @@ -41,6 +41,7 @@ describe('extractHtmlMeta', () => { it.each(cases)( 'given the html tag %p, returns %p', + // @ts-ignore not worth fixing -prf (input, expectedResult) => { const output = extractHtmlMeta({html: input as string, hostname: ''}) expect(output).toEqual(expectedResult) @@ -86,6 +87,7 @@ describe('extractHtmlMeta', () => { title: '@bluesky on Twitter', } const output = extractHtmlMeta({ + html: '', hostname: 'twitter.com', pathname: '/bluesky', }) @@ -97,6 +99,7 @@ describe('extractHtmlMeta', () => { title: 'Tweet by @bluesky', } const output = extractHtmlMeta({ + html: '', hostname: 'twitter.com', pathname: '/bluesky/status/1582437529969917953', }) @@ -108,6 +111,7 @@ describe('extractHtmlMeta', () => { title: 'Twitter', } const output = extractHtmlMeta({ + html: '', hostname: 'twitter.com', pathname: '/i/articles/follows/-1675653703?time_window=24', }) |