From fb9e66318f9f28b891df9128e52855cb333e4437 Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Wed, 28 Jul 2021 15:20:11 +0200 Subject: [PATCH] Improve test --- apps/api/src/app/core/current-rate.service.spec.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 8dc233315..271be25b9 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' } ]); });