Skip to content

Commit

Permalink
format, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelynJefferson committed Oct 31, 2024
1 parent 289ccc2 commit 1cac280
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/export/CodeSystemExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ export class CodeSystemExporter {
fshName: fshDefinition.name,
fshType: 'CodeSystem'
});

return codeSystem;
}

Expand Down
1 change: 0 additions & 1 deletion src/export/ValueSetExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,6 @@ export class ValueSetExporter {
fshName: fshDefinition.name,
fshType: 'ValueSet'
});

return vs;
}
}
5 changes: 1 addition & 4 deletions test/export/InstanceExporter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2236,6 +2236,7 @@ describe('InstanceExporter', () => {
seacowGiven.value = 'Seacow';
seacowName.rules.push(seacowGiven);
doc.instances.set(seacowName.name, seacowName);
exportInstance(seacowName);

// Instance: ThisIsSeacow
// InstanceOf: SeacowPatient
Expand All @@ -2248,10 +2249,6 @@ describe('InstanceExporter', () => {
thisIsSeacow.rules.push(thisIsName);
doc.instances.set(thisIsSeacow.name, thisIsSeacow);

csExporter.export();
vsExporter.export();
sdExporter.export();
exporter.exportInstance(seacowName);
const exported = exporter.exportInstance(thisIsSeacow);
expect(loggerSpy.getAllMessages('error')).toHaveLength(0);
expect(exported.contact[0].name.given).toEqual(['Manatee', 'Seacow']);
Expand Down

0 comments on commit 1cac280

Please sign in to comment.