You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ deno test --allow-all --coverage=cov/ src/
Check file:///home/yoh/proj/bids/bids-validator/bids-validator/src/files/browser.test.ts
Check file:///home/yoh/proj/bids/bids-validator/bids-validator/src/files/deno.test.ts
...
test missingLabel ... File with underscores and hyphens doesn't error out. => ./src/validators/filenameValidate.test.ts:34:11error: NotFound: No such file or directory (os error 2): lstat '/tmp/yoh' this.#fileInfo = Deno.lstatSync(this._getPath()) ^ at Object.lstatSync (ext:deno_fs/30_fs.js:415:3) at new BIDSFileDeno (file:///home/yoh/proj/bids/bids-validator/bids-validator/src/files/deno.ts:39:31) at file:///home/yoh/proj/bids/bids-validator/bids-validator/src/validators/filenameValidate.test.ts:41:18 at innerWrapped (ext:cli/40_test.js:174:11) at exitSanitizer (ext:cli/40_test.js:103:33) at Object.outerWrapped [as fn] (ext:cli/40_test.js:117:20) at TestContext.step (ext:cli/40_test.js:475:37) at file:///home/yoh/proj/bids/bids-validator/bids-validator/src/validators/filenameValidate.test.ts:34:11 FAILURES valid_headers dataset ... summary has correct totalFiles => ./src/tests/local/valid_headers.test.ts:32:11test hasMatch ... No match => ./src/validators/filenameIdentify.test.ts:77:11test hasMatch ... 1+ matched, datatype match => ./src/validators/filenameIdentify.test.ts:90:11test missingLabel ... File with underscore and no hyphens errors out. => ./src/validators/filenameValidate.test.ts:17:11test missingLabel ... File with underscores and hyphens doesn't error out. => ./src/validators/filenameValidate.test.ts:34:11
FAILED | 26 passed (105 steps) | 3 failed (5 steps) (3s)
error: Test failed
note above that
error: NotFound: No such file or directory (os error 2): lstat '/tmp/yoh'
FWIW nothing should rely on/use some fixed filename under $TMPDIR - security hazard!
The text was updated successfully, but these errors were encountered:
note above that
error: NotFound: No such file or directory (os error 2): lstat '/tmp/yoh'
FWIW nothing should rely on/use some fixed filename under
$TMPDIR
- security hazard!The text was updated successfully, but these errors were encountered: