Skip to content

Commit 5eea7fa

Browse files
committed
test: don't run ng5 factory test on ng2/4
1 parent 07d3b93 commit 5eea7fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/e2e/tests/build/rebuild-ngfactories.ts

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ export default function () {
1818
return Promise.resolve();
1919
}
2020

21+
// Skip this test in Angular 2/4.
22+
if (getGlobalVariable('argv').ng2 || getGlobalVariable('argv').ng4) {
23+
return Promise.resolve();
24+
}
25+
2126
return execAndWaitForOutputToMatch('ng', ['serve', '--aot'], validBundleRegEx)
2227
.then(() => writeMultipleFiles({
2328
'src/app/app.component.css': `

0 commit comments

Comments
 (0)