Skip to content

Commit 729af6f

Browse files
committed
Return explicit value from commit hook in test
1 parent 62a139d commit 729af6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/callbacks.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,7 @@ for (const [key, factory] of FACTORIES) {
566566
let commitHookInvocationsCount = 0;
567567
sqlite3.commit_hook(db, () => {
568568
commitHookInvocationsCount++;
569+
return 0;
569570
});
570571

571572
rc = await sqlite3.exec(db, `

0 commit comments

Comments
 (0)