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
When attempting to run Jest Current File, an error occurs related to a syntax error, causing the test to fail.
To Reproduce
Steps to reproduce the behavior:
Configure launch.json to run Jest Current File.
Attempt to execute the test file.
Observe the error message related to missing syntax, such as a missing parenthesis.
The test fails due to this error.
Observed Behaviour
An error message indicating a syntax issue appears when running Jest, preventing the test from completing successfully.
Expected Behaviour
The test should run without syntax errors and execute successfully.
Details
Error message:
/path/to/project/node_modules/.bin/jest:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
Additional Context
Adjusting the launch.json by adding "runtimeExecutable": "/bin/bash" allows Jest to execute, but the test still fails due to an unexpected token error.
Versions
Veramo: Latest version
Node Version: v20.10.0 and v18.20.4 (error occurs in both versions also mac and wsl2)
Willingness to Assist
If there is anything I can do to assist in resolving this issue, I am happy to help. Please let me know how I can contribute.
The text was updated successfully, but these errors were encountered:
Bug Severity: 2 - Minor
Describe the Bug
When attempting to run Jest Current File, an error occurs related to a syntax error, causing the test to fail.
To Reproduce
Steps to reproduce the behavior:
launch.json
to run Jest Current File.Observed Behaviour
An error message indicating a syntax issue appears when running Jest, preventing the test from completing successfully.
Expected Behaviour
The test should run without syntax errors and execute successfully.
Details
Error message:
Additional Context
Adjusting the
launch.json
by adding"runtimeExecutable": "/bin/bash"
allows Jest to execute, but the test still fails due to an unexpected token error.Versions
Willingness to Assist
If there is anything I can do to assist in resolving this issue, I am happy to help. Please let me know how I can contribute.
The text was updated successfully, but these errors were encountered: