RajSharma RajSharma - 9 months ago 40
AngularJS Question

Karma; What is the difference between * and ** in karma.config.js?

Sorry I am new to Karma and angular.

I am working on a angular js project.

In my karma file I * and ** in files.


My question mhy ** are used here and what are it's purpose? I know it is a simple question but I don't know I couldn't figure out.

Answer Source

Please have a look at node-glob.

There the following description can be found:

* Matches 0 or more characters in a single path portion

** If a "globstar" is alone in a path portion, then it matches zero or more directories and subdirectories searching for matches. It does not crawl symlinked directories.