Skip to content

Commit a3f2629

Browse files
committed
test: fix nightly travis tests
When we moved to @angular/cli some testing logic wasnt updated properly.
1 parent 1ce50fa commit a3f2629

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/e2e/setup/500-create-project.ts

+6
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ export default function() {
4545
.filter(name => name.match(/^@angular\//))
4646
.forEach(name => {
4747
const pkgName = name.split(/\//)[1];
48+
if (pkgName == 'cli') {
49+
return;
50+
}
4851
json['dependencies'][`@angular/${pkgName}`]
4952
= `github:angular/${pkgName}-builds${label}`;
5053
});
@@ -53,6 +56,9 @@ export default function() {
5356
.filter(name => name.match(/^@angular\//))
5457
.forEach(name => {
5558
const pkgName = name.split(/\//)[1];
59+
if (pkgName == 'cli') {
60+
return;
61+
}
5662
json['devDependencies'][`@angular/${pkgName}`]
5763
= `github:angular/${pkgName}-builds${label}`;
5864
});

0 commit comments

Comments
 (0)