angular-docs-cn/integration/ng_elements_schematics
Alan Agius 528e7d787c test: update CLI integration tests to run only for Ivy (#41434)
In Angular CLI 12, application can only be compiled using Ivy, therefore we shouldn't run these tests when Bazel runs with View Engine context.

PR Close #41434
2021-04-12 16:46:29 -07:00
..
.gitignore fix(elements): schematics fails with schema.json not found error (#35211) 2020-02-11 11:42:52 -08:00
README.md fix(elements): schematics fails with schema.json not found error (#35211) 2020-02-11 11:42:52 -08:00
package.json build: move build scripts to dedicated directory (#35780) 2020-03-04 08:35:26 -08:00
test.ts test: update CLI integration tests to run only for Ivy (#41434) 2021-04-12 16:46:29 -07:00
tsconfig.json fix(elements): schematics fails with schema.json not found error (#35211) 2020-02-11 11:42:52 -08:00
yarn.lock test: run /integration/ng_elements_schematics test with bazel (#35669) 2020-02-26 12:58:35 -08:00

README.md

Angular Elements Schematics Tests

This directory is an integration test for @angular/elements schematics. To ensure that the elements schematics do work and leave the application in a working state.

To use the tests:

  • Use yarn install to install all dependencies in this directory and in the Angular repo root directory.
  • Build an Angular distribution with yarn build-dist. This needs to be done after changes to Angular, but not after changes to integration tests. This is an expensive build.
  • In this directory, run the integration tests with yarn test.