fix(test): karma shim to support nested folders

This commit is contained in:
Ciro Nunes 2015-12-03 15:08:38 +00:00
parent 70764793c5
commit 2c6ba3cb8f

View File

@ -37,7 +37,7 @@ System.import('angular2/platform/browser').then(function(browser_adapter) {
}); });
function onlyAppFiles(filePath) { 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) { function onlySpecFiles(path) {