docs: spelling errors

This commit is contained in:
Aliaksei Kuncevic 2017-03-23 14:24:34 +11:00 committed by Igor Minar
parent 1060805a1f
commit de87c47dd9
3 changed files with 5 additions and 5 deletions

View File

@ -416,7 +416,7 @@ describe('compiler (bundled Angular)', () => {
})));
});
describe('Bundled libary', () => {
describe('Bundled library', () => {
let host: MockCompilerHost;
let aotHost: MockAotCompilerHost;
let libraryFiles: Map<string, string>;
@ -659,4 +659,4 @@ const LIBRARY_USING_APP: MockData = {
function expectPromiseToThrow(p: Promise<any>, msg: RegExp) {
p.then(
() => { throw new Error('Expected to throw'); }, (e) => { expect(e.message).toMatch(msg); });
}
}

View File

@ -137,7 +137,7 @@ export function main() {
.toBe(symbolCache.get('/tmp/external.d.ts', 'SomeExternalPipe'));
});
it('should automatically add the metadata of referenced symbols that are not in the soure files',
it('should automatically add the metadata of referenced symbols that are not in the source files',
() => {
init();
const externalSerialized = serializeSummaries(
@ -196,7 +196,7 @@ export function main() {
// been serialized as well.
expect(summaries[2].symbol).toBe(symbolCache.get('/tmp/non_summary.d.ts', 'external'));
expect(summaries[2].metadata).toEqual('b');
// SomService is a transitive dep, but sould have been serialized as well.
// SomService is a transitive dep, but should have been serialized as well.
expect(summaries[3].symbol).toBe(symbolCache.get('/tmp/external_svc.d.ts', 'SomeService'));
expect(summaries[3].type.type.reference)
.toBe(symbolCache.get('/tmp/external_svc.d.ts', 'SomeService'));

View File

@ -305,7 +305,7 @@ export function main() {
});
describe('normalizeLoadedTemplate', () => {
it('should store the viewEncapsulationin the result',
it('should store the viewEncapsulation in the result',
inject([DirectiveNormalizer], (normalizer: DirectiveNormalizer) => {
const viewEncapsulation = ViewEncapsulation.Native;