I am currently working on a web application that utilizes Angular as the front-end technology and Java Spring Boot as the backend.
https://i.sstatic.net/IWPNZ.png
In the screenshot above, you can see that I have created a new directory within the root folder called filebeat-7.12-darwin-x86_64
, which contains various js
files.
When attempting to run the JavaScript tests using the command npm run webapp:test
, I encountered numerous errors indicating that the default configuration was looking for *.js
and *.ts
files in the filebeat-7.12-darwin-x86_64
folder as well.
Is there a way to specify the starting folder for the npm run webapp:test
command? Below are some lines from the log produced by the mentioned command:
> [email protected] webapp:test /Users/dummy/git/sample-app
> npm run test
> [email protected] pretest /Users/dummy/git/sample-app
> npm run lint
> [email protected] lint /Users/dummy/git/sample-app
> eslint . --ext .js,.ts
// Error messages shown here...
Thank you for your assistance.