refactor(tests): add ComponentFixture tests (#10910)

Remove old TestComponentBuilder tests, and keep relevant
ComponentFixture tests as component_fixture_spec.
This commit is contained in:
Julie Ralph
2016-08-19 15:46:40 -07:00
committed by Kara
parent bb7d55244d
commit 917d43e108
3 changed files with 327 additions and 616 deletions

View File

@ -118,7 +118,7 @@ export function main() {
}, 10000);
});
describe('test component builder', function() {
describe('TestBed createComponent', function() {
it('should allow an external templateUrl', async(() => {
TestBed.configureTestingModule({declarations: [ExternalTemplateComp]});
TestBed.compileComponents().then(() => {
@ -128,7 +128,8 @@ export function main() {
.toEqual('from external template\n');
});
}),
10000); // Long timeout here because this test makes an actual ResourceLoader, and is slow
10000); // Long timeout here because this test makes an actual ResourceLoader request, and
// is slow
// on Edge.
});
});