fix(bazel): ng_package should include private exports in fesms (#23054)
PR Close #23054
This commit is contained in:
@ -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'); });
|
||||
});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user