fix(upgrade): remove unused version export (#33180)
In some module systems (Closure), it's illegal to mutate an export. This mutated export isn't used anyway, so we can just remove it. PR Close #33180
This commit is contained in:

committed by
Matias Niemelä

parent
86104b82b8
commit
becd62d4a1
@ -29,7 +29,8 @@ withEachNg1Version(() => {
|
||||
afterEach(() => destroyPlatform());
|
||||
|
||||
describe('(basic use)', () => {
|
||||
it('should have AngularJS loaded', () => expect(angular.version.major).toBe(1));
|
||||
it('should have AngularJS loaded',
|
||||
() => expect(angular.getAngularJSGlobal().version.major).toBe(1));
|
||||
|
||||
it('should instantiate ng2 in ng1 template and project content', async(() => {
|
||||
const ng1Module = angular.module_('ng1', []);
|
||||
|
Reference in New Issue
Block a user