diff options
| author | Bertrand Yuan <noreply@bertyuan.com> | 2026-03-26 00:15:40 +0800 |
|---|---|---|
| committer | Bertrand Yuan <noreply@bertyuan.com> | 2026-03-26 00:15:40 +0800 |
| commit | cd3c4bc89c169616b38bdb7443bb4eb7571b020c (patch) | |
| tree | 71d0985970984c105582f6e3c370b254f38e9bbe /src/components/json-ld.test.tsx | |
| parent | 8a6a6712e7554f110b5ef951f270d88fd010e040 (diff) | |
fix defects in pr #11
Diffstat (limited to 'src/components/json-ld.test.tsx')
| -rw-r--r-- | src/components/json-ld.test.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/json-ld.test.tsx b/src/components/json-ld.test.tsx index c96e5c3..6a81414 100644 --- a/src/components/json-ld.test.tsx +++ b/src/components/json-ld.test.tsx @@ -46,7 +46,7 @@ describe('json-ld components', () => { }); test('returns null when post is not provided', () => { - const { container } = render(<PostJsonLd post={null as unknown as any} />); + const { container } = render(<PostJsonLd post={null} />); expect(container.firstChild).toBeNull(); }); |
