mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
Silence an unused-parameter warning in the record write test
This commit is contained in:
1 parent
5fd5447069
commit
54fed25859
1 file changed
+4
-3
@@ -332,9 +332,10 @@ describe("writing the row", () => {
|
||||
* not a comment.
|
||||
*/
|
||||
function delegate(count: number) {
|
||||
const createMany = vi.fn(async (_args: { skipDuplicates?: boolean }) => ({
|
||||
count,
|
||||
}));
|
||||
const createMany = vi.fn(async (args: { skipDuplicates?: boolean }) => {
|
||||
void args;
|
||||
return { count };
|
||||
});
|
||||
return {
|
||||
db: { healthScoreRecord: { createMany } } as never,
|
||||
createMany,
|
||||
|
||||
Reference in new issue
Block a user