Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjelonek committed Jan 7, 2025
1 parent 6cf4070 commit d7d6531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/bakta-service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('bakta service', () => {
storage.save([fixtures.A])
const api: BaktaApi = createBaktaApi('')
const mock = vi.fn().mockImplementation(() => {})
api.delete = mock
api.delete = mock.mockReturnValue(Promise.resolve())
const service = createBaktaService(api, storage)
await service.removeJob('A')
expect(mock).toHaveBeenCalledOnce()
Expand Down

0 comments on commit d7d6531

Please sign in to comment.