diff --git a/packages/@angular/cli/blueprints/module/files/__path__/__name__.module.spec.ts b/packages/@angular/cli/blueprints/module/files/__path__/__name__.module.spec.ts index 84a6f2cfde2a..df140e2a7b80 100644 --- a/packages/@angular/cli/blueprints/module/files/__path__/__name__.module.spec.ts +++ b/packages/@angular/cli/blueprints/module/files/__path__/__name__.module.spec.ts @@ -1,7 +1,7 @@ -import <%= classifiedModuleName %>Module from './<%= dasherizedModuleName %>.module'; +import { <%= classifiedModuleName %>Module } from './<%= dasherizedModuleName %>.module'; describe('<%= classifiedModuleName %>Module', () => { - let <%= camelizedModuleName %>Module; + let <%= camelizedModuleName %>Module: <%= classifiedModuleName %>Module; beforeEach(() => { <%= camelizedModuleName %>Module = new <%= classifiedModuleName %>Module(); @@ -9,5 +9,5 @@ describe('<%= classifiedModuleName %>Module', () => { it('should create an instance', () => { expect(<%= camelizedModuleName %>Module).toBeTruthy(); - }) + }); });