parent
678fd32406
commit
d814eaad95
|
@ -48,7 +48,8 @@ class BadTemplateUrl {
|
|||
|
||||
it('should run async tests with ResourceLoaders', async(() => {
|
||||
const resourceLoader = new ResourceLoaderImpl();
|
||||
resourceLoader.get('/base/angular/packages/platform-browser/test/static_assets/test.html')
|
||||
resourceLoader
|
||||
.get('/base/angular/packages/platform-browser/test/static_assets/test.html')
|
||||
.then(() => { actuallyDone = true; });
|
||||
}),
|
||||
10000); // Long timeout here because this test makes an actual ResourceLoader.
|
||||
|
|
|
@ -103,8 +103,10 @@ class CompUsingModuleDirectiveAndPipe {
|
|||
class SomeLibModule {
|
||||
}
|
||||
|
||||
@Component(
|
||||
{selector: 'comp', templateUrl: '/base/angular/packages/platform-browser/test/static_assets/test.html'})
|
||||
@Component({
|
||||
selector: 'comp',
|
||||
templateUrl: '/base/angular/packages/platform-browser/test/static_assets/test.html'
|
||||
})
|
||||
class CompWithUrlTemplate {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue