We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05c7700 + 28ad752 commit 34ef6eeCopy full SHA for 34ef6ee
bids-validator/utils/__tests__/type.spec.js
@@ -0,0 +1,13 @@
1
+const type = require('../type.js')
2
+
3
+describe('type.js', () => {
4
+ describe('isBids()', () => {
5
+ it('does not throw an error for valid defacemask filenames', () => {
6
+ expect(
7
+ type.isBIDS(
8
+ '/sub-rid000043/anat/sub-rid000043_run-02_mod-T1w_defacemask.nii.gz',
9
+ ),
10
+ ).toBe(true)
11
+ })
12
13
+})
0 commit comments