revert: feat(core): add source to StaticInjectorError message (#19482) (#20171)

This reverts commit faa621218e.
This commit is contained in:
Victor Berchet
2017-11-03 14:51:06 -07:00
committed by GitHub
parent a99eb16320
commit f0764016f9
11 changed files with 34 additions and 105 deletions

View File

@ -135,7 +135,7 @@ export function main() {
name = 'square';
}
const injector = Injector.create({providers: [{provide: Square, deps: []}]});
const injector = Injector.create([{provide: Square, deps: []}]);
const shape: Square = injector.get(Square);
expect(shape.name).toEqual('square');