refactor: make identifiers for generated code small to improve dev size

This commit is contained in:
Tobias Bosch
2017-02-27 13:28:41 -08:00
committed by Igor Minar
parent d2e42567a6
commit 5caab71f7d
4 changed files with 20 additions and 35 deletions

View File

@ -123,7 +123,7 @@ describe('compiler (bundled Angular)', () => {
const genCompFile =
generatedFiles.find(f => /app\.component\.ngfactory\.ts/.test(f.genFileUrl));
expect(genCompFile).toBeDefined();
expect(genCompFile.source).toContain('viewDef');
expect(genCompFile.source).toContain('ViewDefinition');
expect(genCompFile.source).not.toContain('AppView');
expect(generatedFiles.find(f => /app\.module\.ngfactory\.ts/.test(f.genFileUrl)))
.toBeDefined();