concerto
concerto copied to clipboard
Fixed no such file or directory error in decoratormanager.js Test File
Closes #836
Changes
- Added
__dirname
keyword as prefix of every path of the .cto file -
Author Checklist
- [X] Ensure you provide a DCO sign-off for your commits using the
--signoff
option of git commit. - [ ] Vital features and changes captured in unit and/or integration tests
- [ ] Commits messages follow AP format
- [ ] Extend the documentation, if necessary
- [ ] Merging to
main
fromfork:branchname
Hey @DianaLease can you please review this pr?
What OS and Node version are you using? Any other specific details about your environment? Wondering why this is failing for you.
What OS and Node version are you using? Any other specific details about your environment? Wondering why this is failing for you.
I am using Mac OS and my node version is v18.3.0
.
When I execute the test file from the root of the repo then I get this error but if I specifically go inside concerto-core
folder and try to execute then file the it worked fine. I used npx mocha
command to run the file and there are other test files where I have faced similar issue as well
What OS and Node version are you using? Any other specific details about your environment? Wondering why this is failing for you.
I am using Mac OS and my node version is
v18.3.0
. When I execute the test file from the root of the repo then I get this error but if I specifically go insideconcerto-core
folder and try to execute then file the it worked fine. I usednpx mocha
command to run the file and there are other test files where I have faced similar issue as well
I see. So with this change, will will it work from both the root and from concerto-core? @subhajit20
What OS and Node version are you using? Any other specific details about your environment? Wondering why this is failing for you.
I am using Mac OS and my node version is
v18.3.0
. When I execute the test file from the root of the repo then I get this error but if I specifically go insideconcerto-core
folder and try to execute then file the it worked fine. I usednpx mocha
command to run the file and there are other test files where I have faced similar issue as wellI see. So with this change, will will it work from both the root and from concerto-core? @subhajit20
Yup! It is working fine right now after making these changes done both from the root and the concerto-core
or any other packages Directory