mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e41a52286f
This reverts commit 9bc15994ce.
PR Close #55326
18 lines
560 B
TypeScript
18 lines
560 B
TypeScript
/*
|
|
* Protractor support is deprecated in Angular.
|
|
* Protractor is used in this example for compatibility with Angular documentation tools.
|
|
*/
|
|
import { bootstrapApplication,provideProtractorTestingSupport } from '@angular/platform-browser';
|
|
import { AppComponent } from './app/app.component';
|
|
import { provideRouter } from '@angular/router';
|
|
import routeConfig from './app/routes';
|
|
|
|
bootstrapApplication(AppComponent,
|
|
{
|
|
providers: [
|
|
provideProtractorTestingSupport(),
|
|
provideRouter(routeConfig)
|
|
]
|
|
}
|
|
).catch(err => console.error(err));
|