We ran into an issue with karma using test/unit/*/.js and trying to use testFilePattern: '.spec.js', from the example.
We had 1 file not called .spec.js and the npm test fails with:
Cannot read property 'value' of undefined
So i think a warning for an unfound nextPath could be helpful for finding misconfiguration.
Also i tried to add wildcards. A single * can be used for non-folder-separator characters and a ** would work with subfolders. Added tests for wildcards
We ran into an issue with karma using test/unit/*/.js and trying to use testFilePattern: '.spec.js', from the example.
We had 1 file not called .spec.js and the npm test fails with: Cannot read property 'value' of undefined
So i think a warning for an unfound nextPath could be helpful for finding misconfiguration.
Also i tried to add wildcards. A single * can be used for non-folder-separator characters and a ** would work with subfolders. Added tests for wildcards