8000 fix(test): karma shim to support nested folders · pkdevboxy/angular-cli@2c6ba3c · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c6ba3c

Browse files
committed
fix(test): karma shim to support nested folders
1 parent 7076479 commit 2c6ba3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/ng2/blueprints/ng2/files/karma-test-shim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ System.import('angular2/platform/browser').then(function(browser_adapter) {
3737
});
3838

3939
function onlyAppFiles(filePath) {
40-
return /^\/base\/dist\/app\/(?!spec)([a-z0-9-_]+)\.js$/.test(filePath);
40+
return /^\/base\/dist\/app\/(?!spec)([a-z0-9-_\/]+)\.js$/.test(filePath);
4141
}
4242

4343
function onlySpecFiles(path) {

0 commit comments

Comments
 (0)
0