Skip to content

Commit

Permalink
Add timeouts to the disklist tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fishylunar committed Aug 25, 2023
1 parent f6acb97 commit eed4315
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ describe("disklist", () => {
test("async", async() => {
expect(typeof await shark.disklist.listDrives() === 'object')
.toBeTruthy();
});
}, 15000);
test("sync", () => {
expect(typeof shark.disklist.listDrivesSync() === 'object')
.toBeTruthy();
});
}, 15000);
});

0 comments on commit eed4315

Please sign in to comment.