From a8f498b1677443928e2f230f033b89d593a5fe8f Mon Sep 17 00:00:00 2001 From: "Jan M. Pilzer" Date: Tue, 28 Mar 2017 16:12:44 +0200 Subject: [PATCH] fix(@angular/cli): fix generated Module Spec Close #5715 --- .../module/files/__path__/__name__.module.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); - }) + }); });