Skip to content

Commit 17ae140

Browse files
vadim-shbhansl
authored andcommitted
fix(@angular/cli): fix text descriptions
Text of initial tests must have sense. Close #5501
1 parent b1d0615 commit 17ae140

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@angular/cli/blueprints/component/files/__path__/__name__.component.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('<%= classifiedModuleName %>Component', () => {
1919
fixture.detectChanges();
2020
});
2121

22-
it('should create', () => {
22+
it('should be created', () => {
2323
expect(component).toBeTruthy();
2424
});
2525
});

packages/@angular/cli/blueprints/service/files/__path__/__name__.service.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe('<%= classifiedModuleName %>Service', () => {
99
});
1010
});
1111

12-
it('should ...', inject([<%= classifiedModuleName %>Service], (service: <%= classifiedModuleName %>Service) => {
12+
it('should be created', inject([<%= classifiedModuleName %>Service], (service: <%= classifiedModuleName %>Service) => {
1313
expect(service).toBeTruthy();
1414
}));
1515
});

0 commit comments

Comments
 (0)