angular/integration/platform-server/projects/ngmodule/src/main.ts
Alan Agius 38661a6f2b test: update platform-server tests to test both ngmodule and standalone application (#49927)
This commits update the platform-server test structure to add 2 applications in the Angular CLI workspace one based on ngmodules and another standalone. The same E2E suit is ran on both apps.

PR Close #49927
2023-04-19 14:56:29 +00:00

7 lines
201 B
TypeScript

import { platformBrowser } from '@angular/platform-browser';
import { AppModule } from './app/app.module';
(window as any)['doBootstrap'] = () => {
platformBrowser().bootstrapModule(AppModule);
};