Skip to content

Commit

Permalink
MAT-6651: Modify gender to be sex
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmcphillips committed Dec 18, 2024
1 parent c1db058 commit d63a9d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/services/export.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ describe('ExcelService', () => {
expect(worksheet.getCell(2, 8).value).toBe('deathdate');
expect(worksheet.getCell(2, 9).value).toBe('ethnicity');
expect(worksheet.getCell(2, 10).value).toBe('race');
expect(worksheet.getCell(2, 11).value).toBe('gender');
expect(worksheet.getCell(2, 11).value).toBe('sex');
expect(worksheet.getCell(2, 12).value).toBe(
'define "Denominator":\n "Initial Population"',
);
Expand Down
3 changes: 1 addition & 2 deletions src/services/export.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export class ExportService {
testCaseExcelExportDtos: TestCaseExcelExportDto[],
): Promise<Buffer> {
const workbook = new ExcelJS.Workbook();

//Generate Key worksheet
const keyWorkSheet = workbook.addWorksheet('KEY');
this.generateKeyWorksheet(keyWorkSheet);
Expand Down Expand Up @@ -296,7 +295,7 @@ export class ExportService {
'deathdate',
'ethnicity',
'race',
'gender',
'sex',
);
if (result.definitions && result.definitions.length > 0) {
result.definitions.forEach((definition) => {
Expand Down

0 comments on commit d63a9d6

Please sign in to comment.