mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
aebf1158f6
Since v15, prod mode is handled by the CLI with the `optimization` flag. We can remove the environement files and `enableProdMode` when the tests use the CLI. PR Close #49746
13 lines
390 B
TypeScript
13 lines
390 B
TypeScript
import {bootstrapApplication, provideProtractorTestingSupport} from '@angular/platform-browser';
|
|
import {provideRouter} from '@angular/router';
|
|
|
|
import {AppComponent} from './app/app.component';
|
|
import {appRoutes} from './app/app.routes';
|
|
|
|
bootstrapApplication(AppComponent, {
|
|
providers: [
|
|
provideRouter(appRoutes),
|
|
provideProtractorTestingSupport(),
|
|
]
|
|
}).catch(console.error);
|