fix(bazel): ng_package should include private exports in fesms (#23054)

PR Close #23054
This commit is contained in:
Alex Eagle
2018-03-28 18:15:36 -07:00
committed by Igor Minar
parent 9fb08e2377
commit 0d9140cdce
10 changed files with 133 additions and 175 deletions

View File

@ -107,6 +107,9 @@ describe('@angular/core ng_package', () => {
expect(shx.cat('fesm2015/core.js'))
.toMatch(/@license Angular v\d+\.\d+\.\d+(?!-PLACEHOLDER)/);
});
it('should have been built from the generated bundle index',
() => { expect(shx.cat('fesm2015/core.js')).toMatch('export {.*makeParamDecorator'); });
});
@ -127,6 +130,9 @@ describe('@angular/core ng_package', () => {
expect(shx.cat('fesm5/core.js')).not.toContain('function __extends');
expect(shx.cat('fesm5/core.js')).toMatch('import {.*__extends');
});
it('should have been built from the generated bundle index',
() => { expect(shx.cat('fesm5/core.js')).toMatch('export {.*makeParamDecorator'); });
});