Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
honeyankit committed Feb 19, 2025
1 parent 6a7da7c commit 2374bec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions __tests__/image-service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ describe('ImageService.fetchImageWithRetry', () => {
let getImageMock: jest.Mock

const MAX_RETRIES = 5
const INITIAL_DELAY_MS = 100

beforeEach(() => {
pullMock = jest.fn().mockResolvedValue(
Expand Down Expand Up @@ -54,7 +53,7 @@ describe('ImageService.fetchImageWithRetry', () => {
// Mock modem property to avoid `followProgress` errors
Object.defineProperty(docker, 'modem', {value: modemMock})

jest.spyOn(global, 'setTimeout').mockImplementation((fn, ms) => {
jest.spyOn(global, 'setTimeout').mockImplementation(fn => {
fn()
return {} as NodeJS.Timeout
})
Expand Down

0 comments on commit 2374bec

Please sign in to comment.