I want the script command below to have something like where it should run tests in that folder name
"scripts": {
"test": "jest --testPathPattern==tests/<folder-name> --maxWorkers=2"
},
to run tests in a particular folder.
This command is executed in a bash file run-tests.sh
as shown below
#!/bin/bash
npm run test
is it possible to have something like
#!/bin/bash
npm run test <folder-name>