In your karma.conf.js file, you can link to several files in a directory or subdirectories. For the properties of the files in your karma.conf, you can do the same as shown below.
files: [ 'www/js/*.js', 'www/**/*.js' ]
The first show will get everything in the js folder. However, the second will give you all the javascript files in the www / folder and subfolders, including the js / folder.
Hope this helps.
source share