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