|
|
|
@ -21,7 +21,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; |
|
|
|
}) |
|
|
|
@ -32,7 +31,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; |
|
|
|
}) |
|
|
|
@ -42,7 +40,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; |
|
|
|
}) |
|
|
|
@ -53,7 +50,6 @@ jest.mock( |
|
|
|
'@ghostfolio/api/services/exchange-rate-data/exchange-rate-data.service', |
|
|
|
() => { |
|
|
|
return { |
|
|
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
|
|
ExchangeRateDataService: jest.fn().mockImplementation(() => { |
|
|
|
return ExchangeRateDataServiceMock; |
|
|
|
}) |
|
|
|
|