-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Please review this test
returns a LOAD_ACTIVE_ENTRY_SUCCESS when the entry that is running it is in the same day
It is displaying the following error and has been commented to go ahead with one of the tickets that is not related with this behavior
✗ returns a LOAD_ACTIVE_ENTRY_SUCCESS when the entry that is running it is in the same day
TypeError: Cannot destructure property 'id' of '((cov_ysub9wcck(...).s[7]++) , entryData)' as it is undefined.
at
at EntryService.updateEntry (http://localhost:9876/_karma_webpack_/src/app/modules/time-clock/services/entry.service.ts:50:5)
at MergeMapSubscriber.project (http://localhost:9876/_karma_webpack_/main.js:50507:32)
at MergeMapSubscriber._tryNext (http://localhost:9876/_karma_webpack_/node_modules/rxjs/_esm2015/internal/operators/mergeMap.js:46:1)
Chrome 84.0.4147.89 (Mac OS 10.13.6) TimeEntryActionEffects returns a LOAD_ACTIVE_ENTRY_SUCCESS when the entry that is running it is in the same day FAILED
TypeError: Cannot destructure property 'id' of '((cov_ysub9wcck(...).s[7]++) , entryData)' as it is undefined.
at
at EntryService.updateEntry (http://localhost:9876/_karma_webpack_/src/app/modules/time-clock/services/entry.service.ts:50:5)
at MergeMapSubscriber.project (http://localhost:9876/_karma_webpack_/main.js:50507:32)
at MergeMapSubscriber._tryNext (http://localhost:9876/_karma_webpack_/node_modules/rxjs/_esm2015/internal/operators/mergeMap.js:46:1)
at MergeMapSubscriber._next (http://localhost:9876/_karma_webpack_/node_modules/rxjs/_esm2015/internal/operators/mergeMap.js:36:1)
at MergeMapSubscriber.next (http://localhost:9876/_karma_webpack_/node_modules/rxjs/_esm2015/internal/Subscriber.js:49:1)
at MapSubscriber._next (http://localhost:9876/_karma_webpack_/node_modules/rxjs/_esm2015/internal/operators/map.js:35:1)
at MapSubscriber.next (http://localhost:9876/_karma_webpack_/node_modules/rxjs/_esm2015/internal/Subscriber.js:49:1)
at FilterSubscriber._next (http://localhost:9876/_karma_webpack_/node_modules/rxjs/_esm2015/internal/operators/filter.js:33:1)
at FilterSubscriber.next (http://localhost:9876/_karma_webpack_/node_modules/rxjs/_esm2015/internal/Subscriber.js:49:1)
at Observable._subscribe (http://localhost:9876/_karma_webpack_/node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js:3:1)