Skip to content

Commit

Permalink
Update test to ensure void is not allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 27, 2024
1 parent 1e7668f commit 0a559d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cache/core/__tests__/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,8 @@ describe.skip("Cache type tests", () => {
id: "foo",
fields: {
foo: () => undefined,
// @ts-expect-error needs return statement
bar: () => {},
},
});
});
Expand Down

0 comments on commit 0a559d1

Please sign in to comment.