Skip to content

Commit

Permalink
Update src/db.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gitauto-ai[bot] authored Nov 5, 2024
1 parent f6276d5 commit 13353e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/db.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Mock database module

module.exports = {
query: jest.fn().mockResolvedValue({ rows: [] }),

Check notice on line 4 in src/db.js

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/db.js#L4

'jest' is not defined.
};

0 comments on commit 13353e7

Please sign in to comment.