From 37d96d5c90b7e7aa9c5d454314ca03ef675a966a Mon Sep 17 00:00:00 2001 From: Vadim Shabanov Date: Sat, 18 Mar 2017 23:19:56 +0300 Subject: [PATCH 1/2] Text of initial tests must have sense --- .../component/files/__path__/__name__.component.spec.ts | 2 +- .../blueprints/service/files/__path__/__name__.service.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@angular/cli/blueprints/component/files/__path__/__name__.component.spec.ts b/packages/@angular/cli/blueprints/component/files/__path__/__name__.component.spec.ts index 61f4236b20a3..fbbacebd8d03 100644 --- a/packages/@angular/cli/blueprints/component/files/__path__/__name__.component.spec.ts +++ b/packages/@angular/cli/blueprints/component/files/__path__/__name__.component.spec.ts @@ -19,7 +19,7 @@ describe('<%= classifiedModuleName %>Component', () => { fixture.detectChanges(); }); - it('should create', () => { + it('should be created', () => { expect(component).toBeTruthy(); }); }); diff --git a/packages/@angular/cli/blueprints/service/files/__path__/__name__.service.spec.ts b/packages/@angular/cli/blueprints/service/files/__path__/__name__.service.spec.ts index 19fab2e41f9a..f0eb357b06ac 100644 --- a/packages/@angular/cli/blueprints/service/files/__path__/__name__.service.spec.ts +++ b/packages/@angular/cli/blueprints/service/files/__path__/__name__.service.spec.ts @@ -9,7 +9,7 @@ describe('<%= classifiedModuleName %>Service', () => { }); }); - it('should ...', inject([<%= classifiedModuleName %>Service], (service: <%= classifiedModuleName %>Service) => { + it('should be created', inject([<%= classifiedModuleName %>Service], (service: <%= classifiedModuleName %>Service) => { expect(service).toBeTruthy(); })); }); From da0fa92da9ac43b04cd595a41ebd13ffa5050be7 Mon Sep 17 00:00:00 2001 From: Vadim Date: Sat, 18 Mar 2017 23:40:00 +0300 Subject: [PATCH 2/2] The whole "coverage" directory must be ignored. Then IDE highlights this directory as "Out of git". --- packages/@angular/cli/blueprints/ng/files/gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@angular/cli/blueprints/ng/files/gitignore b/packages/@angular/cli/blueprints/ng/files/gitignore index 6708ebc05606..54bfd2001e64 100755 --- a/packages/@angular/cli/blueprints/ng/files/gitignore +++ b/packages/@angular/cli/blueprints/ng/files/gitignore @@ -27,7 +27,7 @@ # misc /.sass-cache /connect.lock -/coverage/* +/coverage /libpeerconnection.log npm-debug.log testem.log