Skip to content

Commit

Permalink
fixup! feat(upgrade): provide unit test helpers for wiring up injectors
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Apr 13, 2019
1 parent 0974801 commit eac230b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ withEachNg1Version(() => {
});

it('should create new injectors when we re-use the helper', () => {
defineAppModule();
TestBed.configureTestingModule({imports: [createAngularTestingModule(['app']), AppModule]});
// Check that the injectors are wired up correctly
TestBed.get(Inventory) as Inventory;
Expand Down

0 comments on commit eac230b

Please sign in to comment.