Skip to content

Commit e41580f

Browse files
committed
fix tests in JSDatasetMapper.spec.ts #821
1 parent 62c0990 commit e41580f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/component/dataset/infrastructure/mappers/JSDatasetMapper.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ const jsDatasetFilesTotalArchivalDownloadSize = 7
215215
const expectedDataset = {
216216
id: 505,
217217
persistentId: 'doi:10.5072/FK2/B4B2MJ',
218+
datasetType: undefined,
218219
version: {
219220
id: 101,
220221
title: "Darwin's Finches",
@@ -334,6 +335,7 @@ const expectedDataset = {
334335
const expectedDatasetWithPublicationDate = {
335336
id: 505,
336337
persistentId: 'doi:10.5072/FK2/B4B2MJ',
338+
datasetType: undefined,
337339
version: {
338340
id: 101,
339341
title: "Darwin's Finches",
@@ -451,6 +453,7 @@ const expectedDatasetWithPublicationDate = {
451453
const expectedDatasetWithNextVersionNumbers = {
452454
id: 505,
453455
persistentId: 'doi:10.5072/FK2/B4B2MJ',
456+
datasetType: undefined,
454457
version: {
455458
id: 101,
456459
title: "Darwin's Finches",
@@ -569,6 +572,7 @@ const expectedDatasetWithNextVersionNumbers = {
569572
const expectedDatasetAlternateVersion = {
570573
id: 505,
571574
persistentId: 'doi:10.5072/FK2/B4B2MJ',
575+
datasetType: undefined,
572576
version: {
573577
id: 101,
574578
title: "Darwin's Finches",

0 commit comments

Comments
 (0)