This commit is contained in:
2025-11-03 17:32:55 +01:00
parent 36012d4a92
commit 913320b970
7 changed files with 67 additions and 23 deletions

View File

@@ -1,13 +1,10 @@
/*!
* @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
/*
* Protractor support is deprecated in Angular.
* Protractor is used in this example for compatibility with Angular documentation tools.
*/
import {bootstrapApplication} from '@angular/platform-browser';
import {appConfig} from './app/app.config.js';
import {bootstrapApplication, provideProtractorTestingSupport} from '@angular/platform-browser';
import {App} from './app/app';
bootstrapApplication(App, appConfig).catch((err) => console.error(err));
bootstrapApplication(App, {providers: [provideProtractorTestingSupport()]}).catch((err) =>
console.error(err),
);