From 4416295fe32a8cb1c96ddcf9b23fe7c54667e28b Mon Sep 17 00:00:00 2001 From: Daniel Devaud Date: Wed, 20 Dec 2023 15:13:20 +0100 Subject: [PATCH] Fix test --- .../portfolio/portfolio-calculator-novn-buy-and-sell.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/api/src/app/portfolio/portfolio-calculator-novn-buy-and-sell.spec.ts b/apps/api/src/app/portfolio/portfolio-calculator-novn-buy-and-sell.spec.ts index feed5923b..62f5b93ba 100644 --- a/apps/api/src/app/portfolio/portfolio-calculator-novn-buy-and-sell.spec.ts +++ b/apps/api/src/app/portfolio/portfolio-calculator-novn-buy-and-sell.spec.ts @@ -77,6 +77,7 @@ describe('PortfolioCalculator', () => { date: '2022-03-07', netPerformanceInPercentage: 0, netPerformance: 0, + timeWeightedPerformance: 0, totalInvestment: 151.6, value: 151.6 }); @@ -85,6 +86,7 @@ describe('PortfolioCalculator', () => { date: '2022-04-11', netPerformanceInPercentage: 13.100263852242744, netPerformance: 19.86, + timeWeightedPerformance: 0, totalInvestment: 0, value: 0 });