refactor: Move dom_adapter.ts
to @angular/common
(#32154)
This work is needed in preparation for turning tokens into tree-shakable injectables. PR Close #32154
This commit is contained in:
@ -7,6 +7,7 @@ ts_library(
|
||||
# Visible to //:test_web_all target
|
||||
visibility = ["//:__pkg__"],
|
||||
deps = [
|
||||
"//packages/common",
|
||||
"//packages/core",
|
||||
"//packages/core/testing",
|
||||
"//packages/http",
|
||||
|
@ -6,6 +6,7 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {ɵgetDOM as getDOM} from '@angular/common';
|
||||
import {Injectable} from '@angular/core';
|
||||
import {AsyncTestCompleter, SpyObject, afterEach, beforeEach, beforeEachProviders, describe, expect, inject, it} from '@angular/core/testing/src/testing_internal';
|
||||
import {BrowserXhr} from '@angular/http/src/backends/browser_xhr';
|
||||
@ -18,7 +19,6 @@ import {XSRFStrategy} from '@angular/http/src/interfaces';
|
||||
import {Request} from '@angular/http/src/static_request';
|
||||
import {Response} from '@angular/http/src/static_response';
|
||||
import {URLSearchParams} from '@angular/http/src/url_search_params';
|
||||
import {ɵgetDOM as getDOM} from '@angular/platform-browser';
|
||||
import {setCookie} from '@angular/platform-browser/testing/src/browser_util';
|
||||
|
||||
let abortSpy: any;
|
||||
|
@ -6,6 +6,7 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {ɵgetDOM as getDOM} from '@angular/common';
|
||||
import {describe, expect, it} from '@angular/core/testing/src/testing_internal';
|
||||
import {RequestOptions} from '@angular/http/src/base_request_options';
|
||||
import {ContentType} from '@angular/http/src/enums';
|
||||
|
Reference in New Issue
Block a user