fix(ivy): deduplicate imported modules in r3_injector (#27102)
PR Close #27102
This commit is contained in:

committed by
Miško Hevery

parent
cf1ebdc079
commit
20729b3378
@ -54,7 +54,8 @@ describe('Ivy NgModule', () => {
|
||||
}
|
||||
|
||||
expect(() => createInjector(AModule))
|
||||
.toThrowError('Circular dependency: type AModule ends up importing itself.');
|
||||
.toThrowError(
|
||||
'Circular dependency in DI detected for type AModule. Dependency path: AModule > BModule > AModule.');
|
||||
});
|
||||
|
||||
it('merges imports and exports', () => {
|
||||
|
Reference in New Issue
Block a user