angular/packages/examples/core/main.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
904 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import 'zone.js';
import 'zone.js/plugins/task-tracking';
// okd
import {bootstrapApplication, provideProtractorTestingSupport} from '@angular/platform-browser';
import {routes, TestsAppComponent} from './test_app_component';
import {ApplicationConfig, provideZoneChangeDetection} from '@angular/core';
import {provideRouter} from '@angular/router';
import {provideAnimations} from '@angular/platform-browser/animations';
const appConfig: ApplicationConfig = {
providers: [
provideRouter(routes),
provideAnimations(),
provideZoneChangeDetection(),
provideProtractorTestingSupport(),
],
};
bootstrapApplication(TestsAppComponent, appConfig).catch((err) => console.error(err));