Skip to content

Commit

Permalink
Fix file path for windows test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jinalviranii committed Sep 9, 2024
1 parent b355b55 commit 13b6d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/global.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ afterAll(async () => {
// globalMock.restore();
await db.clearData();
server.app.close();
const dbPath = 'session_storage.db';
const dbPath = path.join(__dirname, 'session_storage.db');
// Check if the file exists and delete it
fs.unlink(dbPath, (err) => {
if (err) {
Expand Down

0 comments on commit 13b6d51

Please sign in to comment.