fix(migrations): add protractor support if protractor imports are detected (#49274)
The new `bootstrapApplication` API doesn't include Protractor support anymore which may cause existing e2e tests to break after the migration. These changes add some logic that will provide Protractor support if any imports to `protractor` or `protractor/*` are detected. PR Close #49274
Showing
- packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.ts 44 additions, 3 deletions.../ng-generate/standalone-migration/standalone-bootstrap.ts
- packages/core/schematics/test/standalone_migration_spec.ts 90 additions, 0 deletionspackages/core/schematics/test/standalone_migration_spec.ts
Please register or sign in to comment