fix(ivy): deduplicate imported modules in r3_injector (#27102)

PR Close #27102
This commit is contained in:
Olivier Combe
2018-11-16 16:26:21 +01:00
committed by Miško Hevery
parent cf1ebdc079
commit 20729b3378
3 changed files with 74 additions and 67 deletions

View File

@ -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', () => {