angular/integration/standalone-bootstrap
Andrew Kushnir 3165fa3f4e perf(platform-browser): avoid including Testability by default in bootstrapApplication (#45885)
The Testability-related logic was refactored in https://github.com/angular/angular/pull/45657 to become tree-shaking-friendly: it was decoupled from the core providers of the `BrowserModule`. This commit updates the newly-introduced `bootstrapApplication` function to exclude Testability-providers by default (note: the Testability is still included in the NgModule-based bootstrap).

In order to add the Testability to the app bootstrapped via `bootstrapApplication`, the `provideProtractorTestingSupport` function is introduced.

PR Close #45885
2022-05-10 13:34:28 -07:00
..
e2e perf(platform-browser): avoid including Testability by default in bootstrapApplication (#45885) 2022-05-10 13:34:28 -07:00
src test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
.browserslistrc test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
.editorconfig test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
.gitignore test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
angular.json test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
BUILD.bazel test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
karma.conf.js test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
package.json test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
README.md build: clean up references to old master branch (#45856) 2022-05-04 16:23:33 -07:00
tsconfig.app.json test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
tsconfig.json test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
tsconfig.spec.json test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
tslint.json test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00
yarn.lock test(core): add integration test apps for the bootstrapApplication API (#45674) 2022-04-21 17:47:54 -07:00

Standalone Bootstrap test app

This project was generated with Angular CLI.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.