test(ngcc): fix incorrect test setup (#38959)

The `SIMPLE_CLASS_FILE` contained a `ChildClass` that had an
internal aliases implementation and extended a `SuperClass` base
class. The call to `__extends` was using the wrong argument for
the child class.

PR Close #38959
This commit is contained in:
Pete Bacon Darwin 2020-09-29 20:46:55 +01:00 committed by atscott
parent ed81588c79
commit acfce0ba1b
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ var OuterClass2 = (function() {
}());
var SuperClass = (function() { function SuperClass() {} return SuperClass; }());
var ChildClass = /** @class */ (function (_super) {
__extends(ChildClass, _super);
__extends(InnerChildClass, _super);
function InnerChildClass() {}
return InnerChildClass;
}(SuperClass);

View File

@ -223,7 +223,7 @@ runInEachFileSystem(() => {
}());
var SuperClass = (function() { function SuperClass() {} return SuperClass; }());
var ChildClass = /** @class */ (function (_super) {
__extends(ChildClass, _super);
__extends(InnerChildClass, _super);
function InnerChildClass() {}
return InnerChildClass;
}(SuperClass);