Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Improve test

Thomasfb9e66318f9f
diff --git a/apps/api/src/app/core/current-rate.service.spec.ts b/apps/api/src/app/core/current-rate.service.spec.ts
index 8dc2333158..271be25b90 100644
--- a/apps/api/src/app/core/current-rate.service.spec.ts
+++ b/apps/api/src/app/core/current-rate.service.spec.ts
@@ -115,12 +115,14 @@ describe('CurrentRateService', () => {
})
).toMatchObject([
{
- // date
- marketPrice: 1841.823902
+ date: undefined,
+ marketPrice: 1841.823902,
+ symbol: 'AMZN'
},
{
- // date
- marketPrice: 1847.839966
+ date: undefined,
+ marketPrice: 1847.839966,
+ symbol: 'AMZN'
}
]);
});