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
[mochawesome] Generating report files...
[16:46:34] 'test:execute' errored after 226 ms
[16:46:34] Error in plugin 'gulp-mocha'
Message:
ENOENT: no such file or directory, mkdir '/Users/patrickhousley/Documents/projects/github/core-build/reports/mochaReport'
Details:
errno: -2
code: ENOENT
syscall: mkdir
path: /Users/patrickhousley/Documents/projects/github/core-build/reports/mochaReport
Stack:
Error: ENOENT: no such file or directory, mkdir '/Users/patrickhousley/Documents/projects/github/core-build/reports/mochaReport'
at Error (native)
at Object.fs.mkdirSync (fs.js:842:18)
at /Users/patrickhousley/Documents/projects/github/core-build/node_modules/mochawesome/lib/reportGenerator.js:51:10
at Array.forEach (native)
at createDirs (/Users/patrickhousley/Documents/projects/github/core-build/node_modules/mochawesome/lib/reportGenerator.js:49:8)
at Array.async.auto.createDirs (/Users/patrickhousley/Documents/projects/github/core-build/node_modules/mochawesome/lib/reportGenerator.js:19:9)
at /Users/patrickhousley/Documents/projects/github/core-build/node_modules/mochawesome/node_modules/async/lib/async.js:484:38
at _each (/Users/patrickhousley/Documents/projects/github/core-build/node_modules/mochawesome/node_modules/async/lib/async.js:46:13)
at Object.async.auto (/Users/patrickhousley/Documents/projects/github/core-build/node_modules/mochawesome/node_modules/async/lib/async.js:455:9)
at generateReport (/Users/patrickhousley/Documents/projects/github/core-build/node_modules/mochawesome/lib/reportGenerator.js:15:9)
[16:46:34] 'test' errored after 528 ms
[16:46:34] Error in plugin 'run-sequence'
Message:
An error occured in task 'test:execute'.
The text was updated successfully, but these errors were encountered:
When using a custom directory for the report, mochawesome currently expects to only create one new directory. I'll see about modifying it so you can create multiple dirs if they don't exist.
Library is throwing an error when one or more of the parent directories of the path passed to reportDir does not exist.
Gulp task call:
Gulp task source:
Ouptut:
The text was updated successfully, but these errors were encountered: