Skip to content

Commit

Permalink
fix(@angular/cli): fix generated Module Spec
Browse files Browse the repository at this point in the history
Close #5715
  • Loading branch information
Hirse authored and filipesilva committed Mar 29, 2017
1 parent b48aa00 commit a8f498b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
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();
});

it('should create an instance', () => {
expect(<%= camelizedModuleName %>Module).toBeTruthy();
})
});
});

0 comments on commit a8f498b

Please sign in to comment.