Skip to content

Commit

Permalink
fix(test): Update ds001 tests due to CITATION.cff
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Aug 30, 2024
1 parent adc9a87 commit 37e2e7f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions bids-validator/tests/bids.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check failure on line 109 in bids-validator/tests/bids.spec.js

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18)

Replace `↹` with `········`

Check failure on line 109 in bids-validator/tests/bids.spec.js

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18)

Unexpected console statement

Check failure on line 109 in bids-validator/tests/bids.spec.js

View workflow job for this annotation

GitHub Actions / build (macos-latest, 18)

Replace `↹` with `········`

Check failure on line 109 in bids-validator/tests/bids.spec.js

View workflow job for this annotation

GitHub Actions / build (macos-latest, 18)

Unexpected console statement

Check failure on line 109 in bids-validator/tests/bids.spec.js

View workflow job for this annotation

GitHub Actions / build (windows-latest, 18)

Replace `↹` with `········`

Check failure on line 109 in bids-validator/tests/bids.spec.js

View workflow job for this annotation

GitHub Actions / build (windows-latest, 18)

Unexpected console statement
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',
Expand Down Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 37e2e7f

Please sign in to comment.