From fccce0e684f303d73d3bf6bcc2ea49901c3b6196 Mon Sep 17 00:00:00 2001 From: Ellen Kraffmiller Date: Mon, 23 Oct 2023 16:52:49 -0400 Subject: [PATCH] fix: remove console.log() --- src/dataset/domain/models/Dataset.ts | 3 --- .../dataset/infrastructure/mappers/JSDatasetMapper.spec.ts | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/dataset/domain/models/Dataset.ts b/src/dataset/domain/models/Dataset.ts index cf1e7f8dc..a8c5384ec 100644 --- a/src/dataset/domain/models/Dataset.ts +++ b/src/dataset/domain/models/Dataset.ts @@ -388,9 +388,6 @@ export class Dataset { } private withAlerts(): void { - console.log( - 'withAlerts, privateUrl ' + this.privateUrl + ' privateUrlToken: ' + this.privateUrlToken - ) if ( this.version.publishingStatus === DatasetPublishingStatus.DRAFT && this.permissions.canPublishDataset diff --git a/tests/component/dataset/infrastructure/mappers/JSDatasetMapper.spec.ts b/tests/component/dataset/infrastructure/mappers/JSDatasetMapper.spec.ts index b5ffb6aa6..cf04a2edc 100644 --- a/tests/component/dataset/infrastructure/mappers/JSDatasetMapper.spec.ts +++ b/tests/component/dataset/infrastructure/mappers/JSDatasetMapper.spec.ts @@ -215,8 +215,6 @@ describe('JS Dataset Mapper', () => { datasetSummaryFields, '4.0' ) - console.log('mapped: ' + JSON.stringify(mappedWithAlternate)) - console.log('expected: ' + JSON.stringify(expectedDatasetAlternateVersion)) expect(expectedDatasetAlternateVersion).to.deep.equal(mappedWithAlternate) })