repackaging: all the repackaging changes squashed
This commit is contained in:
@ -1,14 +1,9 @@
|
||||
import {provide, Provider} from 'angular2/src/core/di';
|
||||
import {MockSchemaRegistry} from './schema_registry_mock';
|
||||
import {ElementSchemaRegistry} from 'angular2/src/compiler/schema/element_schema_registry';
|
||||
import {MockXHR} from 'angular2/src/compiler/xhr_mock';
|
||||
import {XHR} from 'angular2/src/compiler/xhr';
|
||||
import {
|
||||
UrlResolver,
|
||||
createUrlResolverWithoutPackagePrefix
|
||||
} from 'angular2/src/compiler/url_resolver';
|
||||
import {provide} from '@angular/core';
|
||||
import {MockSchemaRegistry, MockXHR} from '@angular/compiler/testing';
|
||||
import {ElementSchemaRegistry, XHR, UrlResolver} from '@angular/compiler';
|
||||
import {createUrlResolverWithoutPackagePrefix} from '@angular/compiler/src/url_resolver';
|
||||
|
||||
export var TEST_PROVIDERS = [
|
||||
export var TEST_PROVIDERS: any[] = [
|
||||
provide(ElementSchemaRegistry, {useValue: new MockSchemaRegistry({}, {})}),
|
||||
provide(XHR, {useClass: MockXHR}),
|
||||
provide(UrlResolver, {useFactory: createUrlResolverWithoutPackagePrefix})
|
||||
|
Reference in New Issue
Block a user