Browse Source
Task/rename portfolio calculator no orders test to no activities (#7424)
Rename test
pull/7426/head
Thomas Kaul
5 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-no-activities.spec.ts
|
|
@ -74,7 +74,7 @@ describe('PortfolioCalculator', () => { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
describe('get current positions', () => { |
|
|
describe('get current positions', () => { |
|
|
it('with no orders', async () => { |
|
|
it('with no activities', async () => { |
|
|
jest.useFakeTimers().setSystemTime(parseDate('2021-12-18').getTime()); |
|
|
jest.useFakeTimers().setSystemTime(parseDate('2021-12-18').getTime()); |
|
|
|
|
|
|
|
|
const portfolioCalculator = portfolioCalculatorFactory.createCalculator({ |
|
|
const portfolioCalculator = portfolioCalculatorFactory.createCalculator({ |