Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
test: add type
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSnow committed May 16, 2024
1 parent 1f6d18d commit 3a2d601
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ it('can handle article', () => {
name: 'site_name',
},
articleFilter: identity,
useHead: (input) => void results.push(input),
useSeoMeta: (input) => void results.push(input),
useHead: (input: unknown) => void results.push(input),
useSeoMeta: (input: unknown) => void results.push(input),
resourceUrls: {
article: {
...resourceURL,
Expand Down Expand Up @@ -169,8 +169,8 @@ it('can handle real article', () => {
name: 'site_name',
},
articleFilter: identity,
useHead: (input) => void results.push(input),
useSeoMeta: (input) => void results.push(input),
useHead: (input: unknown) => void results.push(input),
useSeoMeta: (input: unknown) => void results.push(input),
resourceUrls: {
article: {
...resourceURL,
Expand Down Expand Up @@ -242,8 +242,8 @@ it('can handle author page', () => {
name: 'site_name',
},
articleFilter: identity,
useHead: (input) => void results.push(input),
useSeoMeta: (input) => void results.push(input),
useHead: (input: unknown) => void results.push(input),
useSeoMeta: (input: unknown) => void results.push(input),
resourceUrls: {
article: {
...resourceURL,
Expand Down

0 comments on commit 3a2d601

Please sign in to comment.