Skip to content

Commit

Permalink
refactor(schematics): Revert change to Store TestBed init
Browse files Browse the repository at this point in the history
  • Loading branch information
ijz953 committed Jul 22, 2019
1 parent 68facda commit 689fc93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('<%= classify(name) %>Component', () => {
beforeEach(() => {
fixture = TestBed.createComponent(<%= classify(name) %>Component);
component = fixture.componentInstance;
store = TestBed.get(Store);
store = TestBed.get<Store>(Store);

fixture.detectChanges();
});
Expand Down
2 changes: 1 addition & 1 deletion modules/schematics/src/container/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,6 @@ describe('Container Schematic', () => {
const content = tree.readContent(
`${projectPath}/src/app/foo/foo.component.spec.ts`
);
expect(content).toMatch(/store = TestBed\.get\(Store\);/);
expect(content).toMatch(/store = TestBed\.get<Store>\(Store\);/);
});
});

0 comments on commit 689fc93

Please sign in to comment.