From 37e2e7f55cb9dcc331e8a2eabd751e5fdfaad582 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 30 Aug 2024 09:43:52 -0400 Subject: [PATCH] fix(test): Update ds001 tests due to CITATION.cff --- bids-validator/tests/bids.spec.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/bids-validator/tests/bids.spec.js b/bids-validator/tests/bids.spec.js index c8df00913..7e4c7e260 100644 --- a/bids-validator/tests/bids.spec.js +++ b/bids-validator/tests/bids.spec.js @@ -106,9 +106,10 @@ describe('BIDS example datasets ', function () { assert(summary.subjects.length === 16) assert.deepEqual(summary.tasks, ['balloon analog risk task']) expect(summary.modalities).toEqual(['MRI']) - assert(summary.totalFiles === 134) + console.log('summary', summary) + assert(summary.totalFiles === 135) assert.deepEqual(errors.length, 1) - assert(warnings.length === 2) + assert(warnings.length === 3) assert( warnings.findIndex((warning) => warning.code === 13) > -1, 'warnings do not contain a code 13', @@ -217,9 +218,9 @@ describe('BIDS example datasets ', function () { assert(summary.subjects.length === 16) assert.deepEqual(summary.tasks, ['balloon analog risk task']) assert(summary.modalities.includes('MRI')) - assert(summary.totalFiles === 134) + assert(summary.totalFiles === 135) assert.deepEqual(errors.length, 1) - assert(warnings.length === 2) + assert(warnings.length === 3) assert( warnings.findIndex((warning) => warning.code === 13) > -1, 'warnings do not contain a code 13', @@ -241,9 +242,9 @@ describe('BIDS example datasets ', function () { assert(summary.subjects.length === 16) assert.deepEqual(summary.tasks, ['balloon analog risk task']) assert(summary.modalities.includes('MRI')) - assert(summary.totalFiles === 134) + assert(summary.totalFiles === 135) assert.deepEqual(errors.length, 2) - assert(warnings.length === 2) + assert(warnings.length === 3) assert( warnings.findIndex((warning) => warning.code === 13) > -1, 'warnings do not contain a code 13',