-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Expand file tree
/
Copy pathmain.ts
More file actions
28 lines (25 loc) · 1.17 KB
/
main.ts
File metadata and controls
28 lines (25 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import {enableProdMode, provideZoneChangeDetection} from '@angular/core';
import {bootstrapApplication, provideProtractorTestingSupport} from '@angular/platform-browser';
import {provideRouter} from '@angular/router';
import {BlockScrollStrategyE2E} from './components/block-scroll-strategy/block-scroll-strategy-e2e';
import {ComponentHarnessE2e} from './components/component-harness-e2e';
import {E2eApp} from './components/e2e-app/e2e-app';
import {Home} from './components/home';
import {SliderE2e} from './components/slider-e2e';
import {TailwindLayerE2e} from './components/tailwind-layer-e2e';
import {VirtualScrollE2E} from './components/virtual-scroll/virtual-scroll-e2e';
enableProdMode();
bootstrapApplication(E2eApp, {
providers: [
provideProtractorTestingSupport(),
provideRouter([
{path: '', component: Home},
{path: 'block-scroll-strategy', component: BlockScrollStrategyE2E},
{path: 'component-harness', component: ComponentHarnessE2e},
{path: 'slider', component: SliderE2e},
{path: 'tailwind-layer', component: TailwindLayerE2e},
{path: 'virtual-scroll', component: VirtualScrollE2E},
]),
provideZoneChangeDetection(),
],
});