fix(bazel): don't inline tslib into fesms (#23044)

PR Close #23044
This commit is contained in:
Alex Eagle
2018-03-28 09:19:00 -07:00
committed by Alex Rickabaugh
parent 4e004f3783
commit 00497437a6
2 changed files with 9 additions and 1 deletions

View File

@ -122,6 +122,11 @@ describe('@angular/core ng_package', () => {
it('should not be processed by tsickle', () => {
expect(shx.cat('fesm5/core.js')).not.toContain('@fileoverview added by tsickle');
});
it('should load tslib from external bundle', () => {
expect(shx.cat('fesm5/core.js')).not.toContain('function __extends');
expect(shx.cat('fesm5/core.js')).toMatch('import {.*__extends');
});
});