refactor: fix typos (#18000)
This commit is contained in:

committed by
Jason Aden

parent
70b1ff11d5
commit
48772f189f
@ -6,7 +6,7 @@ import { Hero } from './hero';
|
||||
const HEROES = [
|
||||
new Hero('Windstorm', 'Weather mastery'),
|
||||
new Hero('Mr. Nice', 'Killing them with kindness'),
|
||||
new Hero('Magneta', 'Manipulates metalic objects')
|
||||
new Hero('Magneta', 'Manipulates metallic objects')
|
||||
];
|
||||
|
||||
@Injectable()
|
||||
|
@ -39,7 +39,7 @@ if (!/e2e/.test(location.search)) {
|
||||
directives.push(CountdownLocalVarParentComponent);
|
||||
directives.push(CountdownViewChildParentComponent);
|
||||
} else {
|
||||
// In e2e test use CUSTOM_ELEMENTS_SCHEMA to supress unknown element errors
|
||||
// In e2e test use CUSTOM_ELEMENTS_SCHEMA to suppress unknown element errors
|
||||
schemas.push(CUSTOM_ELEMENTS_SCHEMA);
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"description": "Hierachical Dependency Injection",
|
||||
"description": "Hierarchical Dependency Injection",
|
||||
"basePath": "src/",
|
||||
"files":[
|
||||
"!**/*.d.ts",
|
||||
|
@ -85,7 +85,7 @@ describe('Pipes', function () {
|
||||
return resetEle.click();
|
||||
})
|
||||
.then(function() {
|
||||
expect(flyingHeroesEle.count()).toEqual(2, 'reset should restore orginal flying heroes');
|
||||
expect(flyingHeroesEle.count()).toEqual(2, 'reset should restore original flying heroes');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -273,7 +273,7 @@ export class InnerCompWithExternalTemplateComponent { }
|
||||
|
||||
@Component({
|
||||
selector: 'bad-template-comp',
|
||||
templateUrl: './non-existant.html'
|
||||
templateUrl: './non-existent.html'
|
||||
})
|
||||
export class BadTemplateUrlComponent { }
|
||||
|
||||
|
@ -227,7 +227,7 @@ function heroModuleSetup() {
|
||||
// #enddocregion route-no-id
|
||||
|
||||
// #docregion route-bad-id
|
||||
describe('when navigate to non-existant hero id', () => {
|
||||
describe('when navigate to non-existent hero id', () => {
|
||||
beforeEach( async(() => {
|
||||
activatedRoute.testParamMap = { id: 99999 };
|
||||
createComponent();
|
||||
|
Reference in New Issue
Block a user