I would like to configure npm test
in my server. when I run npm test
, it invokes react-scripts test
which triggers a prompt window ( attached screen ). How do I avoid the prompt and run all testcases in the server.
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"lint": "./node_modules/.bin/eslint ."
},
To run all the tests, use "test": "react-scripts test --watchAll=false"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With