Skip to content

Commit 0cbe372

Browse files
committed
test: remove unused param
1 parent 1745621 commit 0cbe372

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/declaration-signature-to-html.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test("class constructor", async () => {
3232
line: 123,
3333
signature: "constructor() {}",
3434
},
35-
(s) => undefined,
35+
() => undefined,
3636
),
3737
).resolves.toMatchInlineSnapshot(
3838
`"<pre class="shiki shiki-themes github-light github-dark" style="background-color:#f7f7f7;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8" tabindex="0"><code><span class="line"><span style="color:#D73A49;--shiki-dark:#F97583">constructor</span><span style="color:#24292E;--shiki-dark:#E1E4E8">() {}</span></span></code></pre>"`,
@@ -89,7 +89,7 @@ test("signature too long", async () => {
8989
line: 123,
9090
signature: "a".repeat(4000),
9191
},
92-
(s) => undefined,
92+
() => undefined,
9393
),
9494
).resolves.toBeDefined();
9595
});
@@ -106,7 +106,7 @@ test("empty signature", async () => {
106106
line: 123,
107107
signature: "",
108108
},
109-
(s) => undefined,
109+
() => undefined,
110110
),
111111
).resolves.toMatchInlineSnapshot(
112112
`"<pre class="shiki shiki-themes github-light github-dark" style="background-color:#f7f7f7;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8" tabindex="0"><code><span class="line"></span></code></pre>"`,

0 commit comments

Comments
 (0)