chore(api): clean up compiler/testing api (#9520)

Do not export MockXHR, which is a private helper.
This commit is contained in:
Julie Ralph
2016-06-23 15:52:18 -07:00
committed by GitHub
parent 8eb81b3741
commit 8d5a312585
5 changed files with 4 additions and 12 deletions

View File

@ -8,7 +8,8 @@
import {ElementSchemaRegistry, UrlResolver, XHR} from '@angular/compiler';
import {createUrlResolverWithoutPackagePrefix} from '@angular/compiler/src/url_resolver';
import {MockSchemaRegistry, MockXHR} from '@angular/compiler/testing';
import {MockSchemaRegistry} from '@angular/compiler/testing';
import {MockXHR} from '@angular/compiler/testing/xhr_mock';
export var TEST_PROVIDERS: any[] = [
{provide: ElementSchemaRegistry, useValue: new MockSchemaRegistry({}, {})},