mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
build(docs-infra): do not error if suites are ignored (#43431)
Adding suites to the `IGNORED_EXAMPLES` array currently results in an runtime exception because later when ignored examples are printed to stdout, a non-existent variable is referenced back from when there were examples disabled due to the Ivy migration. This commit fixes the logic. PR Close #43431
This commit is contained in:
parent
46933d8c87
commit
72c12653e1
1 changed files with 4 additions and 5 deletions
|
|
@ -311,11 +311,10 @@ function runE2eTestsCLI(appDir, outputFile, bufferOutput, port) {
|
|||
function reportStatus(status, outputFile) {
|
||||
let log = [''];
|
||||
|
||||
log.push('Suites ignored due to legacy guides:');
|
||||
IGNORED_EXAMPLES.filter(example => !fixmeIvyExamples.find(ex => ex.startsWith(example)))
|
||||
.forEach(function(val) {
|
||||
log.push(' ' + val);
|
||||
});
|
||||
log.push('Suites ignored:');
|
||||
IGNORED_EXAMPLES.forEach(function(val) {
|
||||
log.push(' ' + val);
|
||||
});
|
||||
|
||||
log.push('');
|
||||
log.push('Suites passed:');
|
||||
|
|
|
|||
Loading…
Reference in a new issue