|
|
|
@ -20,7 +20,6 @@ import { Big } from 'big.js'; |
|
|
|
|
|
|
|
jest.mock('@ghostfolio/api/app/portfolio/current-rate.service', () => { |
|
|
|
return { |
|
|
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
|
|
CurrentRateService: jest.fn().mockImplementation(() => { |
|
|
|
return CurrentRateServiceMock; |
|
|
|
}) |
|
|
|
@ -31,7 +30,6 @@ jest.mock( |
|
|
|
'@ghostfolio/api/services/queues/portfolio-snapshot/portfolio-snapshot.service', |
|
|
|
() => { |
|
|
|
return { |
|
|
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
|
|
PortfolioSnapshotService: jest.fn().mockImplementation(() => { |
|
|
|
return PortfolioSnapshotServiceMock; |
|
|
|
}) |
|
|
|
@ -41,7 +39,6 @@ jest.mock( |
|
|
|
|
|
|
|
jest.mock('@ghostfolio/api/app/redis-cache/redis-cache.service', () => { |
|
|
|
return { |
|
|
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
|
|
RedisCacheService: jest.fn().mockImplementation(() => { |
|
|
|
return RedisCacheServiceMock; |
|
|
|
}) |
|
|
|
|