I had a working with more than one node app under the root.
root
server
src
client
Whenever I tried to load tests from root directory, it failed to locate tests due to my glob pattern being src/**/*. and my cwd being server (cause that's where my ts-node was installed).
so I fixed globFiles to consider cwd when trying to find files.
I had a working with more than one node app under the root.
Whenever I tried to load tests from root directory, it failed to locate tests due to my glob pattern being
src/**/*.
and my cwd beingserver
(cause that's where my ts-node was installed).so I fixed globFiles to consider
cwd
when trying to find files.