fix(platform-browser/testing): clean up public api for platform-browser/testing (#9519)
Mostly, removing things that were never intended to be exported publicy. BREAKING CHANGE: The following are no longer publicly exported APIs. They were intended as internal utilities and you should use your own util: ``` browserDetection, dispatchEvent, el, normalizeCSS, stringifyElement, expect (and custom matchers for Jasmine) ```
This commit is contained in:
@ -10,7 +10,6 @@ import {MockLocationStrategy} from '@angular/common/testing';
|
||||
import {COMPILER_PROVIDERS, DirectiveResolver, ViewResolver, XHR} from '@angular/compiler';
|
||||
import {MockDirectiveResolver, MockViewResolver, TestComponentBuilder, TestComponentRenderer} from '@angular/compiler/testing';
|
||||
import {APPLICATION_COMMON_PROVIDERS, APP_ID, NgZone, PLATFORM_COMMON_PROVIDERS, PLATFORM_INITIALIZER, RootRenderer} from '@angular/core';
|
||||
import {BrowserDetection} from '@angular/platform-browser/testing';
|
||||
|
||||
import {AnimationDriver, NoOpAnimationDriver} from '../core_private';
|
||||
import {DOMTestComponentRenderer} from '../platform_browser_dynamic_testing_private';
|
||||
@ -23,7 +22,6 @@ import {Log} from '@angular/core/testing';
|
||||
|
||||
function initServerTests() {
|
||||
Parse5DomAdapter.makeCurrent();
|
||||
BrowserDetection.setup();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user