This PR makes it possible to run jest test files named *.spec.ts which are located in the test and src folder.
The command to use this is e.g. make a.spec.ts which will find all files called a.spec.ts in the test and src folder and run them with jest.
Explanation:
src folder added to search path
group of names with \( \) this is optional but was part of an answer I found. It gives the command a bit more structure
This PR makes it possible to run jest test files named
*.spec.ts
which are located in thetest
andsrc
folder. The command to use this is e.g.make a.spec.ts
which will find all files calleda.spec.ts
in thetest
andsrc
folder and run them withjest
.Explanation:
\( \)
this is optional but was part of an answer I found. It gives the command a bit more structure-o
meansor
, so either*.test.js
or*.spec.ts