|
|
@ -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({ |