test(ivy): run compiler compliance tests without rebuilding core,common (#25248)
Previously the compiler compliance tests ran and built test code with real dependencies on @angular/core and @angular/common. This meant that any changes to the compiler would result in long rebuild processes for tests to rerun. This change removes those dependencies and causes test code to be built against the fake_core stub of @angular/core that the ngtsc tests use. This change also removes the dependency on @angular/common entirely, as locality means it's possible to reference *ngIf without needing to link to an implementation. PR Close #25248
This commit is contained in:

committed by
Kara Erickson

parent
afa6b9e794
commit
eb999300d9
@ -47,7 +47,7 @@ export type ModuleWithProviders<T> = any;
|
||||
export class ChangeDetectorRef {}
|
||||
export class ElementRef {}
|
||||
export class Injector {}
|
||||
export class TemplateRef {}
|
||||
export class TemplateRef<T = any> {}
|
||||
export class ViewContainerRef {}
|
||||
export class ɵNgModuleFactory<T> {
|
||||
constructor(public clazz: T) {}
|
||||
@ -56,3 +56,5 @@ export class ɵNgModuleFactory<T> {
|
||||
export function forwardRef<T>(fn: () => T): T {
|
||||
return fn();
|
||||
}
|
||||
|
||||
export interface SimpleChanges { [propName: string]: any; }
|
Reference in New Issue
Block a user