Skip to content

Commit

Permalink
Updated the unit test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhamParikh9 committed Jun 3, 2024
1 parent e21642f commit bfba416
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ describe('ComponentObservationMapper', () => {
expect(mapper.map(observation).datasets[0].data[0].y).toEqual(7);
});

it('should map valueQuantity.unit to the title of a linear scale', () => {
it('should map valueQuantity.code to the title of a linear scale', () => {
const observation: ComponentObservation = {
resourceType: 'Observation',
status: 'final',
Expand All @@ -108,7 +108,7 @@ describe('ComponentObservationMapper', () => {
component: [
{
code: { text: 'component' },
valueQuantity: { value: 7, unit: 'unit' },
valueQuantity: { value: 7, unit: 'unit', code: 'unit' },
},
],
};
Expand Down

0 comments on commit bfba416

Please sign in to comment.