mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-21 05:52:41 +08:00
fix(test): karma shim to support nested folders
This commit is contained in:
parent
70764793c5
commit
2c6ba3cb8f
@ -37,7 +37,7 @@ System.import('angular2/platform/browser').then(function(browser_adapter) {
|
||||
});
|
||||
|
||||
function onlyAppFiles(filePath) {
|
||||
return /^\/base\/dist\/app\/(?!spec)([a-z0-9-_]+)\.js$/.test(filePath);
|
||||
return /^\/base\/dist\/app\/(?!spec)([a-z0-9-_\/]+)\.js$/.test(filePath);
|
||||
}
|
||||
|
||||
function onlySpecFiles(path) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user