fix(core): add bootstrapped modules into platform modules list (#13740)
Closes #12015 PR Close #13740
This commit is contained in:

committed by
Miško Hevery

parent
5f40e5ba21
commit
863285a4b0
@ -212,6 +212,11 @@ export function main() {
|
||||
expect(mockConsole.res[0]).toEqual('EXCEPTION: ' + expectedErrMsg);
|
||||
});
|
||||
}));
|
||||
|
||||
it('should add bootstrapped module into platform modules list', async(() => {
|
||||
defaultPlatform.bootstrapModule(createModule({bootstrap: [SomeComponent]}))
|
||||
.then(module => expect((<any>defaultPlatform)._modules).toContain(module));
|
||||
}));
|
||||
});
|
||||
|
||||
describe('bootstrapModuleFactory', () => {
|
||||
|
Reference in New Issue
Block a user