Skip to content

Commit

Permalink
Fixed Lint.
Browse files Browse the repository at this point in the history
Fixed Test.
  • Loading branch information
Luis Oliveira committed Feb 19, 2024
1 parent 82226f7 commit 38696c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,9 @@ describe('Obs Value Adapter Helper: ', () => {
groupMembers: [
{
uuid: 'some inner uuid',
concept: {
uuid: 'a899e5f2-1350-11df-a1f1-0026b9348838'
},
value: moment('2016-04-21T16:17:46.000+0300').format(
'YYYY-MM-DD HH:mm:ss'
),
Expand Down Expand Up @@ -1323,7 +1326,8 @@ describe('Obs Value Adapter Helper: ', () => {
],
concept: 'a8afdb8c-1350-11df-a1f1-0026b9348838',
formFieldNamespace: jasmine.stringMatching(/\w+/),
formFieldPath: jasmine.stringMatching(/\w+/)
formFieldPath: jasmine.stringMatching(/\w+/),
voided: false
}
]);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,8 @@ export class ObsAdapterHelper {
(obs) => obs.uuid == payload[0].uuid
).voided = true;
} else {
childrenPayload.find(
(obs) => obs.uuid == payload[0].uuid
).value = payload[0].value;
childrenPayload.find((obs) => obs.uuid == payload[0].uuid).value =
payload[0].value;
}
} else {
childrenPayload = childrenPayload.concat(payload);
Expand Down

0 comments on commit 38696c1

Please sign in to comment.