Skip to content

Commit c31602e

Browse files
committed
test(metadata): fix expected error test
1 parent 231bc00 commit c31602e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/next-safe-action/src/__tests__/metadata.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ test("action with expected metadata format works", async () => {
3333
});
3434

3535
test("action without expected metadata returns server error", async () => {
36+
// @ts-expect-error
3637
const action = ac.action(async ({ metadata }) => {
3738
return {
3839
metadata,

0 commit comments

Comments
 (0)