I have a Node package with the following test script: nyc mocha \"libraries/@(adaptive*|bot*)/tests/**/*.test.js\"
I tried putting the line "mochaExplorer.files": "libraries/@(adaptive*|bot*)/tests/**/*.test.js", in my settings.json file in order to make Mocha Test Explorer run the same tests as my test script, but then it couldn't find any tests. It seems the @(adaptive*|bot*) syntax isn't supported. Is there any way to get that same effect, i.e. providing two different search patterns?
I have a Node package with the following test script:
nyc mocha \"libraries/@(adaptive*|bot*)/tests/**/*.test.js\"
I tried putting the line
"mochaExplorer.files": "libraries/@(adaptive*|bot*)/tests/**/*.test.js",
in my settings.json file in order to make Mocha Test Explorer run the same tests as my test script, but then it couldn't find any tests. It seems the@(adaptive*|bot*)
syntax isn't supported. Is there any way to get that same effect, i.e. providing two different search patterns?