From c1e404a8bc9603061d0b70c7951b8d25db44c4c4 Mon Sep 17 00:00:00 2001 From: Edgar Toll Date: Sat, 15 Oct 2016 17:00:17 +0200 Subject: [PATCH 1/2] style(blueprint): add newlines at end of file --- .../blueprints/module/files/__path__/__name__.module.spec.ts | 2 +- .../blueprints/ng2/files/__path__/styles.__styleext__ | 2 +- 2 files changed, 2 insertions(+), 2 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 12ed52ce06d2..3ae5a3d78417 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 @@ -13,4 +13,4 @@ describe('<%= classifiedModuleName %>Module', () => { it('should create an instance', () => { expect(<%= camelizedModuleName %>Module).toBeTruthy(); }) -}); \ No newline at end of file +}); diff --git a/packages/angular-cli/blueprints/ng2/files/__path__/styles.__styleext__ b/packages/angular-cli/blueprints/ng2/files/__path__/styles.__styleext__ index e50a47e75cc8..90d4ee0072ce 100644 --- a/packages/angular-cli/blueprints/ng2/files/__path__/styles.__styleext__ +++ b/packages/angular-cli/blueprints/ng2/files/__path__/styles.__styleext__ @@ -1 +1 @@ -/* You can add global styles to this file, and also import other style files */ \ No newline at end of file +/* You can add global styles to this file, and also import other style files */ From cf84fab467d8695d50c5a75f5c6aeea7a14b8a24 Mon Sep 17 00:00:00 2001 From: Edgar Toll Date: Sat, 15 Oct 2016 17:02:18 +0200 Subject: [PATCH 2/2] style(blueprint): remove whitespaces at end of line --- .../blueprints/module/files/__path__/__name__.module.spec.ts | 2 +- packages/angular-cli/blueprints/ng2/files/README.md | 2 +- 2 files changed, 2 insertions(+), 2 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 3ae5a3d78417..5a5bb7d753dd 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 @@ -5,7 +5,7 @@ import <%= classifiedModuleName %>Module from './<%= dasherizedModuleName %>.mod describe('<%= classifiedModuleName %>Module', () => { let <%= camelizedModuleName %>Module; - + beforeEach(() => { <%= camelizedModuleName %>Module = new <%= classifiedModuleName %>Module(); }); diff --git a/packages/angular-cli/blueprints/ng2/files/README.md b/packages/angular-cli/blueprints/ng2/files/README.md index 79c75dd19e76..d22077cb38de 100755 --- a/packages/angular-cli/blueprints/ng2/files/README.md +++ b/packages/angular-cli/blueprints/ng2/files/README.md @@ -19,7 +19,7 @@ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github. ## Running end-to-end tests -Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). +Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). Before running the tests make sure you are serving the app via `ng serve`. ## Deploying to Github Pages