Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
4.0 KB
|
Line | |
---|
1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | import { createPlatformFactory, NgModule } from '@angular/core';
|
---|
9 | import { TestComponentRenderer } from '@angular/core/testing';
|
---|
10 | import { ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS } from '@angular/platform-browser-dynamic';
|
---|
11 | import { BrowserTestingModule } from '@angular/platform-browser/testing';
|
---|
12 | import { DOMTestComponentRenderer } from './dom_test_component_renderer';
|
---|
13 | import { platformCoreDynamicTesting } from './platform_core_dynamic_testing';
|
---|
14 | export * from './private_export_testing';
|
---|
15 | /**
|
---|
16 | * @publicApi
|
---|
17 | */
|
---|
18 | export const platformBrowserDynamicTesting = createPlatformFactory(platformCoreDynamicTesting, 'browserDynamicTesting', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
|
---|
19 | /**
|
---|
20 | * NgModule for testing.
|
---|
21 | *
|
---|
22 | * @publicApi
|
---|
23 | */
|
---|
24 | export class BrowserDynamicTestingModule {
|
---|
25 | }
|
---|
26 | BrowserDynamicTestingModule.decorators = [
|
---|
27 | { type: NgModule, args: [{
|
---|
28 | exports: [BrowserTestingModule],
|
---|
29 | providers: [
|
---|
30 | { provide: TestComponentRenderer, useClass: DOMTestComponentRenderer },
|
---|
31 | ]
|
---|
32 | },] }
|
---|
33 | ];
|
---|
34 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdGluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL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