Skip to content

Commit

Permalink
feat(Async): All the method are now async/await
Browse files Browse the repository at this point in the history
Fixes #171
  • Loading branch information
Belphemur committed Aug 1, 2022
1 parent 88e67b5 commit a6a4a8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/JsonDB.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ describe('JsonDB', () => {
)
})
})

describe('find()', () => {
test('should return undefined when not found', async () => {
db.getData = jest.fn(async () => ({
Expand Down

0 comments on commit a6a4a8d

Please sign in to comment.