refactor: move DOCUMENT imports from platform-browser to common (#29237)

PR Close #29237
This commit is contained in:
Adam Plumer
2019-03-11 19:20:40 -05:00
committed by Matias Niemelä
parent 6ab8c0b371
commit 7b70760c8d
31 changed files with 52 additions and 54 deletions

View File

@ -8,6 +8,7 @@ ng_module(
name = "testing",
srcs = glob(["**/*.ts"]),
deps = [
"//packages/common",
"//packages/compiler",
"//packages/compiler/testing",
"//packages/core",

View File

@ -6,9 +6,10 @@
* found in the LICENSE file at https://angular.io/license
*/
import {DOCUMENT} from '@angular/common';
import {Inject, Injectable} from '@angular/core';
import {TestComponentRenderer} from '@angular/core/testing';
import {DOCUMENT, ɵgetDOM as getDOM} from '@angular/platform-browser';
import {ɵgetDOM as getDOM} from '@angular/platform-browser';
/**
* A DOM based implementation of the TestComponentRenderer.