test(upgrade): run tests against multiple AngularJS versions (#22167)
Fixes #19332 PR Close #22167
This commit is contained in:

committed by
Victor Berchet

parent
28240625e6
commit
8e1e040f72
@ -10,9 +10,9 @@ import {TestBed, getTestBed, inject} from '@angular/core/testing';
|
||||
import * as angular from '@angular/upgrade/src/common/angular1';
|
||||
import {DowngradeComponentAdapter, groupNodesBySelector} from '@angular/upgrade/src/common/downgrade_component_adapter';
|
||||
|
||||
import {nodes} from './test_helpers';
|
||||
import {nodes, withEachNg1Version} from './test_helpers';
|
||||
|
||||
{
|
||||
withEachNg1Version(() => {
|
||||
describe('DowngradeComponentAdapter', () => {
|
||||
describe('groupNodesBySelector', () => {
|
||||
it('should return an array of node collections for each selector', () => {
|
||||
@ -190,4 +190,4 @@ import {nodes} from './test_helpers';
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user